Advertisement
Guest User

Untitled

a guest
May 25th, 2017
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. ### in contact.h
  2.  
  3. typedef struct _TpContact TpContact;
  4. typedef struct _TpContactPrivate TpContactPrivate;
  5.  
  6. ### in contact.c
  7.  
  8. struct _TpContact {
  9. /*<private>*/
  10. GObject parent;
  11. TpContactPrivate *priv;
  12. };
  13.  
  14. struct _TpContactPrivate {
  15. /* basics */
  16. TpConnection *connection;
  17. TpHandle handle;
  18. gchar *identifier;
  19. ContactFeatureFlags has_features;
  20.  
  21. /* aliasing */
  22. gchar *alias;
  23.  
  24. /* avatars */
  25. gchar *avatar_token;
  26.  
  27. /* presence */
  28. TpConnectionPresenceType presence_type;
  29. gchar *presence_status;
  30. gchar *presence_message;
  31.  
  32. /* location */
  33. GHashTable *location;
  34.  
  35. /* capabilities */
  36. TpCapabilities *capabilities;
  37. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement