Initial import of tox sources
[emacs-jabber-tox.git] / tox-session.h
blob0c249064690b158b5f0ab189dcad4cf5077976b9
1 #ifndef __TOX_SESSION_H__
2 #define __TOX_SESSION_H__
4 typedef struct ToxSession
6 GObject parent;
8 struct _ToxSessionPrivate *priv;
9 } ToxSession;
11 typedef struct ToxSessionClass
13 GObjectClass parent;
14 } ToxSessionClass;
16 GType tox_session_get_type(void);
17 #define TOX_TYPE_SESSION (tox_session_get_type())
18 #define TOX_SESSION(object) (G_TYPE_CHECK_INSTANCE_CAST((object), TOX_TYPE_SESSION, ToxSession))
19 #define TOX_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), TOX_TYPE_SESSION, ToxSessionClass))
20 #define TOX_IS_SESSION(object) (G_TYPE_CHECK_INSTANCE_TYPE((object), TOX_TYPE_SESSION))
21 #define TOX_IS_SESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), TOX_TYPE_SESSION))
22 #define TOX_SESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), TOX_TYPE_SESSION, ToxSessionClass))
24 #endif /* __TOX_SESSION_H__ */