rename camera to camera_on
[empathy-mirror.git] / libempathy / empathy-tube-handler.h
blobf20527a68fc8bd741453ccdb502287a040e87780
1 /*
2 * Copyright (C) 2008 Collabora Ltd.
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18 * Authors: Xavier Claessens <xclaesse@gmail.com>
19 * Elliot Fairweather <elliot.fairweather@collabora.co.uk>
22 #ifndef __EMPATHY_TUBE_HANDLER_H__
23 #define __EMPATHY_TUBE_HANDLER_H__
25 #include <glib.h>
27 #include <telepathy-glib/enums.h>
29 G_BEGIN_DECLS
31 #define EMPATHY_TYPE_TUBE_HANDLER (empathy_tube_handler_get_type ())
32 #define EMPATHY_TUBE_HANDLER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), \
33 EMPATHY_TYPE_TUBE_HANDLER, EmpathyTubeHandler))
34 #define EMPATHY_TUBE_HANDLER_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), \
35 EMPATHY_TYPE_TUBE_HANDLER, EmpathyTubeHandlerClass))
36 #define EMPATHY_IS_TUBE_HANDLER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), \
37 EMPATHY_TYPE_TUBE_HANDLER))
38 #define EMPATHY_IS_TUBE_HANDLER_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), \
39 EMPATHY_TYPE_TUBE_HANDLER))
40 #define EMPATHY_TUBE_HANDLER_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), \
41 EMPATHY_TYPE_TUBE_HANDLER, EmpathyTubeHandlerClass))
43 typedef struct _EmpathyTubeHandler EmpathyTubeHandler;
44 typedef struct _EmpathyTubeHandlerClass EmpathyTubeHandlerClass;
46 struct _EmpathyTubeHandler {
47 GObject parent;
50 struct _EmpathyTubeHandlerClass {
51 GObjectClass parent_class;
54 GType empathy_tube_handler_get_type (void) G_GNUC_CONST;
55 EmpathyTubeHandler *empathy_tube_handler_new (TpTubeType type,
56 const gchar *service);
57 gchar *empathy_tube_handler_build_bus_name (TpTubeType type,
58 const gchar *service);
59 gchar *empathy_tube_handler_build_object_path (TpTubeType type,
60 const gchar *service);
62 G_END_DECLS
64 #endif /* __EMPATHY_TUBE_HANDLER_H__ */