61a1f0baf1
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.
89 lines
4.7 KiB
Plaintext
89 lines
4.7 KiB
Plaintext
|
|
resource app_version {
|
|
major = 0,
|
|
middle = 0,
|
|
minor = 1,
|
|
|
|
variety = B_APPV_ALPHA,
|
|
internal = 0,
|
|
|
|
short_info = "Jabber Protocol AddOn for Caya",
|
|
long_info = "©2010 Pier Luigi Fiorini"
|
|
};
|
|
|
|
resource vector_icon {
|
|
$"6E63696604020006023D8E720000000000003D8E7249E39E4BD9AA00FFFFFFFF"
|
|
$"FBEE01050005FF02000606363A4ABA2B773A2B77363A4A4B0C4F48628900FBFD"
|
|
$"BA0CFBFDC147FDFEDC83FEFFEFC0FFFFFBFFFFFFFF120204C93ABFEBCD6DBA93"
|
|
$"BF9CCC27BF56CC51C75ACC5BB7A9CC46B589BFBABF9ECDEFB19CBA31BF48B40F"
|
|
$"B5BCB40FC86EB40F04032EBA80CE61BF05CF67BC8CCF51C17ECF7DC3E2CEB804"
|
|
$"032EBACCD10EBEF36EBCADD1FFC139D22AC36AD16504032EBD92CC52BC8CC3A7"
|
|
$"BE82C6D5BA96C07ABA75C04504032EC039CC3FC13FC394BF49C6C1C335C06649"
|
|
$"C0310204BCD3BFA8BC7ABFA8BD2CBFA8BD71C047BD71BFEEBD71C09FBCD3C0E5"
|
|
$"BD2CC0E5BC7AC0E5BC35C047BC35C09FBC35BFEE0204BD8CBFA8BD34BFA8BDE5"
|
|
$"BFA8BE2BC047BE2BBFEEBE2BC09FBD8CC0E5BDE5C0E5BD34C0E5BCEEC047BCEE"
|
|
$"C09FBCEEBFEE0204BE46BFA8BDEDBFA8BE9FBFA8BEE4C047BEE4BFEEBEE4C09F"
|
|
$"BE46C0E5BE9FC0E5BDEDC0E5BDA8C047BDA8C09FBDA8BFEE0204BEEABFA8BE91"
|
|
$"BFA8BF42BFA8BF88C047BF88BFEEBF88C09FBEEAC0E5BF42C0E5BE91C0E5BE4B"
|
|
$"C047BE4BC09FBE4BBFEE0204BF98BFA8BF40BFA8BFF1BFA8C037C047C037BFEE"
|
|
$"C037C09FBF98C0E5BFF1C0E5BF40C0E5BEFAC047BEFAC09FBEFABFEE0204C010"
|
|
$"BFA8BFB8BFA8C069BFA8C0AFC047C0AFBFEEC0AFC09FC010C0E5C069C0E5BFB8"
|
|
$"C0E5BF72C047BF72C09FBF72BFEE0204C10CBFA8C0B3BFA8C164BFA8C1AAC047"
|
|
$"C1AABFEEC1AAC09FC10CC0E5C164C0E5C0B3C0E5C06DC047C06DC09FC06DBFEE"
|
|
$"0204C19ABFA8C141BFA8C1F2BFA8C238C047C238BFEEC238C09FC19AC0E5C1F2"
|
|
$"C0E5C141C0E5C0FBC047C0FBC09FC0FBBFEE04032EBC3FBFE7BB65C047BBC8C0"
|
|
$"3CBB03C051BAA1C03104032EC243C007C28FC027C202C007C31DC047C375C047"
|
|
$"04032EC243C007C28FC027C202C007C31DC047C375C0470204C86DBC5FC94CBA"
|
|
$"AFC78EBE0FC165BCC5C469BE3DBE62BB4DBD85B70EBCA6B8BEBE64B55DC48DB6"
|
|
$"A8C18AB52FC790B8200204BF34D2E8BE2CD2E8C03CD2E8C10CD3DCC10CD353C1"
|
|
$"0CD464BF34D4CFC03CD4CFBE2CD4CF3AD3DC3AD4643AD353130A000100023EEC"
|
|
$"A00000000000003EECA04640053FFFFB0A010100123EECA00000000000003EEC"
|
|
$"A04640053FFFFB01178300040A010101123EECA00000000000003EECA0464005"
|
|
$"3FFFFB01178222040A010102123EECA00000000000003EECA04640053FFFFB01"
|
|
$"178222040A010103123EECA00000000000003EECA04640053FFFFB0117812204"
|
|
$"0A010104123EECA00000000000003EECA04640053FFFFB01178122040A010105"
|
|
$"123EECA00000000000003EECA04640053FFFFB01178022040A010106123EECA0"
|
|
$"0000000000003EECA04640053FFFFB01178022040A010107123EECA000000000"
|
|
$"00003EECA04640053FFFFB01178022040A010108123EECA00000000000003EEC"
|
|
$"A04640053FFFFB01178022040A010109123EECA00000000000003EECA0464005"
|
|
$"3FFFFB01178022040A01010A123EECA00000000000003EECA04640053FFFFB01"
|
|
$"178022040A01010B123EECA00000000000003EECA04640053FFFFB0117802204"
|
|
$"0A01010C123EECA00000000000003EECA04640053FFFFB01178022040A01010D"
|
|
$"123EECA00000000000003EECA04640053FFFFB01178022040A02010E023EECA0"
|
|
$"0000000000003EECA04640053FFFFB0A01010F123EECA00000000000003EECA0"
|
|
$"4640053FFFFB01178000040A030110023EECA00000000000003EECA04640053F"
|
|
$"FFFB0A010111023EECA00000000000003EECA04640053FFFFB"
|
|
};
|
|
|
|
resource(1, "facebook") #'VICN' array {
|
|
$"6E6369660202000602000000C000004000000000009220244C000067003C7FFF"
|
|
$"1A5EA805FF0206111B1111BD01C0A72B4828BF72B8033FBBBA3C39463F5C4A46"
|
|
$"523C4ABC4D4ABB7A4ABC4DC3D234C59634C51C34C659BB0E54352C0208242824"
|
|
$"2624BA4724C94924C528245AB6245C265CBA355CC94B5CC5285C5A5C5CC9565C"
|
|
$"5A5CC5485CB64A5CBA7B5C26C951245A24C55D242824BA53242624020A000101"
|
|
$"000A01010000"
|
|
};
|
|
|
|
resource(2, "gtalk") #'VICN' array {
|
|
$"6E636966080501040046020106023E40000000000000003D4000494000470000"
|
|
$"7EFFFFFFFFE5E1DA02000602000000BBC0004000000000009220244AF0000000"
|
|
$"33CCFC3366FF02000602000000BA000040000000000092202448800000336699"
|
|
$"FF6699CC02000602000000B9000040000000000092202448E00000CC0000FFFF"
|
|
$"000002000602000000BA000040000000000092202448800000FF9900FFFBFF00"
|
|
$"02000602000000BA000040000000000092202448800000006600FF00CC000A02"
|
|
$"06C22622C7562239222E342E2B2E3D4146364441483C50404C3C504A444A4E55"
|
|
$"44CBB634CBB83E5E2A0206C22622C7562239222E342E2B2E3D4146364441483C"
|
|
$"50404C3C504C464A505744CBB634CBB83E5E2A02024C265928532A583B59335D"
|
|
$"350610CAFFFEAF375335543B3B5A3B5A395D325D355D2C5D274F275627483241"
|
|
$"2C413541BDA7C2A83942BDA7C2A8394A3F463F463C40324036402A40234F2346"
|
|
$"2358325E2A5E395EBF5C5A3F5CBF5C5A3F544053080234313C310404FE372C37"
|
|
$"393739373A393B383B3A3B3B393B3A3B390406FE0B4536403640363F363E383E"
|
|
$"373E383E393E393E3A403B3F3B413B453A0405FE03453C453445344533433244"
|
|
$"324332403240323F323E343E333E3408024D2C4D3C0803553C4F3655300D0A00"
|
|
$"01001001178400040A020101000A010102000A0101032021210A010204053021"
|
|
$"2101178200040A0102070630212101178200040A010108301D2101178200040A"
|
|
$"0102090830212101178200040A030103000A040204051001178200040A050207"
|
|
$"061001178200040A060108301C2001178200040A07020908100117820004"
|
|
};
|
|
|