File: session-priv.h

package info (click to toggle)
telepathy-farstream 0.6.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, jessie, jessie-kfreebsd, sid, stretch
  • size: 2,756 kB
  • ctags: 1,058
  • sloc: sh: 11,072; ansic: 9,131; python: 2,875; makefile: 223
file content (70 lines) | stat: -rw-r--r-- 1,317 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
#ifndef __TF_SESSION_H__
#define __TF_SESSION_H__

#include <glib-object.h>
#include <gst/gst.h>
#include <telepathy-glib/telepathy-glib.h>

G_BEGIN_DECLS

#define TF_TYPE_SESSION _tf_session_get_type()

#define TF_SESSION(obj) \
  (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
  TF_TYPE_SESSION, TfSession))

#define TF_SESSION_CLASS(klass) \
  (G_TYPE_CHECK_CLASS_CAST ((klass), \
  TF_TYPE_SESSION, TfSessionClass))

#define TF_IS_SESSION(obj) \
  (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
  TF_TYPE_SESSION))

#define TF_IS_SESSION_CLASS(klass) \
  (G_TYPE_CHECK_CLASS_TYPE ((klass), \
  TF_TYPE_SESSION))

#define TF_SESSION_GET_CLASS(obj) \
  (G_TYPE_INSTANCE_GET_CLASS ((obj), \
  TF_TYPE_SESSION, TfSessionClass))

typedef struct _TfSessionPrivate TfSessionPrivate;


/**
 * TfSession:
 *
 * All members of the object are private
 */

typedef struct {
  GObject parent;

  TfSessionPrivate *priv;
} TfSession;

/**
 * TfSessionClass:
 *
 * There are no overridable functions
 */

typedef struct {
  GObjectClass parent_class;
} TfSessionClass;

GType _tf_session_get_type (void);

TfSession *
_tf_session_new (TpMediaSessionHandler *proxy,
    const gchar *conference_type,
    GError **error);

gboolean _tf_session_bus_message (TfSession *session,
    GstMessage *message);

G_END_DECLS

#endif /* __TF_SESSION_H__ */