2 * Copyright (C) 2011 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
19 #ifndef __EMPATHY_CAMERA_MENU_H__
20 #define __EMPATHY_CAMERA_MENU_H__
23 #include "empathy-call-window.h"
27 #define EMPATHY_TYPE_CAMERA_MENU (empathy_camera_menu_get_type ())
28 #define EMPATHY_CAMERA_MENU(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), EMPATHY_TYPE_CAMERA_MENU, EmpathyCameraMenu))
29 #define EMPATHY_CAMERA_MENU_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), EMPATHY_TYPE_CAMERA_MENU, EmpathyCameraMenuClass))
30 #define EMPATHY_IS_CAMERA_MENU(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), EMPATHY_TYPE_CAMERA_MENU))
31 #define EMPATHY_IS_CAMERA_MENU_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), EMPATHY_TYPE_CAMERA_MENU))
32 #define EMPATHY_CAMERA_MENU_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), EMPATHY_TYPE_CAMERA_MENU, EmpathyCameraMenuClass))
34 typedef struct _EmpathyCameraMenu EmpathyCameraMenu
;
35 typedef struct _EmpathyCameraMenuPrivate EmpathyCameraMenuPrivate
;
36 typedef struct _EmpathyCameraMenuClass EmpathyCameraMenuClass
;
38 struct _EmpathyCameraMenu
41 EmpathyCameraMenuPrivate
*priv
;
44 struct _EmpathyCameraMenuClass
46 GObjectClass parent_class
;
49 GType
empathy_camera_menu_get_type (void) G_GNUC_CONST
;
51 EmpathyCameraMenu
* empathy_camera_menu_new (EmpathyCallWindow
*window
);
53 void empathy_camera_menu_set_sensitive (EmpathyCameraMenu
*self
,
58 #endif /* __EMPATHY_CAMERA_MENU_H__ */