~bcurtiswx/ubuntu/precise/empathy/3.4.2.1-0ubuntu1

« back to all changes in this revision

Viewing changes to libempathy/empathy-tp-chat.h

  • Committer: Bazaar Package Importer
  • Author(s): Laurent Bigonville
  • Date: 2009-11-16 23:40:52 UTC
  • mfrom: (1.1.39 upstream)
  • mto: (6.3.7 experimental)
  • mto: This revision was merged to the branch mainline in revision 80.
  • Revision ID: james.westby@ubuntu.com-20091116234052-7hhwrpeln4mwdyw7
Tags: upstream-2.29.2
ImportĀ upstreamĀ versionĀ 2.29.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
        GObjectClass parent_class;
53
53
};
54
54
 
 
55
typedef struct {
 
56
        gchar          *name;
 
57
        guint           id;
 
58
        TpPropertyFlags flags;
 
59
        GValue         *value;
 
60
} EmpathyTpChatProperty;
 
61
 
55
62
GType          empathy_tp_chat_get_type             (void) G_GNUC_CONST;
56
63
EmpathyTpChat *empathy_tp_chat_new                  (TpChannel          *channel);
57
64
void           empathy_tp_chat_close                (EmpathyTpChat      *chat);
67
74
void           empathy_tp_chat_set_property         (EmpathyTpChat      *chat,
68
75
                                                     const gchar        *name,
69
76
                                                     const GValue       *value);
 
77
EmpathyTpChatProperty *
 
78
               empathy_tp_chat_get_property         (EmpathyTpChat      *chat,
 
79
                                                     const gchar        *name);
 
80
GPtrArray *    empathy_tp_chat_get_properties       (EmpathyTpChat      *chat);
70
81
 
71
82
/* Returns a read-only list of pending messages (should be a copy maybe ?) */
72
83
const GList *  empathy_tp_chat_get_pending_messages (EmpathyTpChat *chat);
75
86
void           empathy_tp_chat_acknowledge_messages (EmpathyTpChat *chat,
76
87
                                                     const GList *messages);
77
88
 
 
89
gboolean       empathy_tp_chat_password_needed      (EmpathyTpChat *chat);
 
90
 
 
91
void           empathy_tp_chat_provide_password_async (EmpathyTpChat *chat,
 
92
                                                       const gchar *password,
 
93
                                                       GAsyncReadyCallback callback,
 
94
                                                       gpointer user_data);
 
95
 
 
96
gboolean       empathy_tp_chat_provide_password_finish (EmpathyTpChat *chat,
 
97
                                                        GAsyncResult *result,
 
98
                                                        GError **error);
 
99
 
78
100
G_END_DECLS
79
101
 
80
102
#endif /* __EMPATHY_TP_CHAT_H__ */