Commit Graph

16 Enmetoj

Author SHA1 Message Date
Jaidyn Ann 61a1f0baf1 Allow multiple protocols per add-on
Now an add-on can contain multiple protocols, and the protocol API has
changed. An add-on must now export protocol_count() and protocol_at(),
with the latter replacing protocol(). protocol_count() returning the
amount of protocols in a given add-on, and protocol_at(i) giving a
new CayaProtocol* "at" the given index.

CayaProtocol has also been changed, adding Signature(),
FriendlySignature(), Icon(), Path(), and SetPath(). The reasoning is
that different protocols (even within a single add-on) will have
different signatures and icons, so this data should be accessible from
the protocol itself.

CayaProtocolAddOn now has CountProtocols() and ProtocolAt(i), allowing
the accessing of multiple protocols. A CayaProtocolAddOn can be given a
default protocol index in the constructor, whose protocol will be
returned with Protocol(). Version() was also moved from CayaProtocol to
CayaProtocolAddOn.
2021-05-21 13:47:14 -05:00
Jaidyn Ann 53fe03d2c8 Generate protocols' settings templates by call 2021-05-20 09:32:52 -05:00
Jaidyn Ann 96195039e0 Use gloox'es jidJID() instead of deprecated jid() 2021-05-19 16:13:24 -05:00
Jaidyn Ann df55e1d9f5 Switch from Jam to Make 2021-05-19 16:12:19 -05:00
Barrett 00440a3ffc Initial gcc2 support, patch from Haikuports, with a little modification by myself. Set the deskbar replicant show as default, and removed the gcc4 notice from preferences. 2013-07-31 22:34:52 +02:00
barrett ee0669cfd1 Updated statuses accordingly with the recent Caya changes. 2012-05-15 17:51:03 +00:00
barrett c92a7038d0 cleanup...now the xmpp thread will not suck your cpu 2011-04-09 02:35:20 +00:00
plfiorini a9df932fec Implemented the Version() method. 2010-07-10 19:27:32 +00:00
plfiorini 5e4e5d68c4 Changed label to username settings. 2010-05-30 21:20:34 +00:00
plfiorini 7a89509b9f Error handling. 2010-05-30 20:50:04 +00:00
plfiorini 6478101579 Send information notifications instead of progress notifications when we are connected or disconnected to the server. 2010-05-30 18:57:19 +00:00
plfiorini 068cd849ae Using _EXPORT instead of __declspec(dllexport), fixes warning. 2010-05-30 18:46:16 +00:00
plfiorini 5cf1ffadfb Use _SendMessage() to send messages from protocol to Caya because it will always add the "protocol" field. 2010-05-30 12:30:47 +00:00
plfiorini 7757c0b64c Progress notification for connect and disconnect. 2010-05-30 12:17:59 +00:00
plfiorini 225957b2f6 Support avatar images for contacts. 2010-05-30 04:26:36 +00:00
plfiorini 926b90a3c5 Renamed jabber folder to xmpp. 2010-05-28 21:25:14 +00:00