| 73 struct _PurpleProtocolClass |
73 struct _PurpleProtocolClass |
| 74 { |
74 { |
| 75 /*< private >*/ |
75 /*< private >*/ |
| 76 GObjectClass parent_class; |
76 GObjectClass parent_class; |
| 77 |
77 |
| 78 const char *id; /**< Protocol ID */ |
78 const char *id; /**< Protocol ID */ |
| 79 const char *name; /**< Translated name of the protocol */ |
79 const char *name; /**< Translated name of the protocol */ |
| 80 |
80 |
| 81 PurpleProtocolOptions options; /**< Protocol options */ |
81 PurpleProtocolOptions options; /**< Protocol options */ |
| 82 |
82 |
| 83 GList *user_splits; /**< A GList of PurpleAccountUserSplit */ |
83 GList *user_splits; /**< A GList of PurpleAccountUserSplit */ |
| 84 GList *protocol_options; /**< A GList of PurpleAccountOption */ |
84 GList *protocol_options; /**< A GList of PurpleAccountOption */ |
| 85 |
85 |
| 86 PurpleBuddyIconSpec icon_spec; /**< The icon spec. */ |
86 PurpleBuddyIconSpec *icon_spec; /**< The icon spec. */ |
| 87 |
87 |
| 88 PurpleWhiteboardPrplOps *whiteboard_protocol_ops; |
88 PurpleWhiteboardPrplOps *whiteboard_protocol_ops; |
| 89 |
89 |
| 90 void (*_purple_reserved1)(void); |
90 void (*_purple_reserved1)(void); |
| 91 void (*_purple_reserved2)(void); |
91 void (*_purple_reserved2)(void); |
| 617 * |
617 * |
| 618 * @param protocol The protocol. |
618 * @param protocol The protocol. |
| 619 * |
619 * |
| 620 * @return The icon spec of the protocol. |
620 * @return The icon spec of the protocol. |
| 621 */ |
621 */ |
| 622 PurpleBuddyIconSpec purple_protocol_get_icon_spec(const PurpleProtocol *protocol); |
622 PurpleBuddyIconSpec *purple_protocol_get_icon_spec(const PurpleProtocol *protocol); |
| 623 |
623 |
| 624 /** TODO |
624 /** TODO |
| 625 * Returns the whiteboard ops of a protocol. |
625 * Returns the whiteboard ops of a protocol. |
| 626 * |
626 * |
| 627 * @param protocol The protocol. |
627 * @param protocol The protocol. |