~kroq-gar78/ubuntu/precise/gnome-control-center/fix-885947

« back to all changes in this revision

Viewing changes to panels/media/cc-media-panel.h

  • Committer: Bazaar Package Importer
  • Author(s): Rodrigo Moya
  • Date: 2011-05-17 10:47:27 UTC
  • mfrom: (0.1.11 experimental) (1.1.45 upstream)
  • Revision ID: james.westby@ubuntu.com-20110517104727-lqel6m8vhfw5jby1
Tags: 1:3.0.1.1-1ubuntu1
* Rebase on Debian, remaining Ubuntu changes:
* debian/control:
  - Build-Depend on hardening-wrapper, dpkg-dev and dh-autoreconf
  - Add dependency on ubuntu-system-service
  - Remove dependency on gnome-icon-theme-symbolic
  - Move dependency on apg, gnome-icon-theme-symbolic and accountsservice to
    be a Recommends: until we get them in main
* debian/rules:
  - Use autoreconf
  - Add binary-post-install rule for gnome-control-center-data
  - Run dh-autoreconf
* debian/gnome-control-center.dirs:
* debian/gnome-control-center.links:
  - Add a link to the control center shell for indicators
* debian/patches/00_disable-nm.patch:
  - Temporary patch to disable building with NetworkManager until we get
    the new one in the archive
* debian/patches/01_git_remove_gettext_calls.patch:
  - Remove calls to AM_GNU_GETTEXT, IT_PROG_INTLTOOL should be enough
* debian/patches/01_git_kill_warning.patch:
  - Kill warning
* debian/patches/50_ubuntu_systemwide_prefs.patch:
  - Ubuntu specific proxy preferences
* debian/patches/51_ubuntu_system_keyboard.patch:
  - Implement the global keyboard spec at https://wiki.ubuntu.com/DefaultKeyboardSettings

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright (C) 2010 Red Hat, Inc.
 
3
 *
 
4
 * This program is free software; you can redistribute it and/or modify
 
5
 * it under the terms of the GNU General Public License as published by
 
6
 * the Free Software Foundation; either version 2 of the License, or
 
7
 * (at your option) any later version.
 
8
 *
 
9
 * This program 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
 
12
 * GNU General Public License for more details.
 
13
 *
 
14
 * You should have received a copy of the GNU General Public License
 
15
 * along with this program; if not, write to the Free Software
 
16
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
17
 *
 
18
 * Author: Cosimo Cecchi <cosimoc@gnome.org>
 
19
 *
 
20
 */
 
21
 
 
22
#ifndef _CC_MEDIA_PANEL_H
 
23
#define _CC_MEDIA_PANEL_H
 
24
 
 
25
#include <libgnome-control-center/cc-panel.h>
 
26
 
 
27
G_BEGIN_DECLS
 
28
 
 
29
#define CC_TYPE_MEDIA_PANEL cc_media_panel_get_type()
 
30
 
 
31
#define CC_MEDIA_PANEL(obj) \
 
32
  (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
 
33
  CC_TYPE_MEDIA_PANEL, CcMediaPanel))
 
34
 
 
35
#define CC_MEDIA_PANEL_CLASS(klass) \
 
36
  (G_TYPE_CHECK_CLASS_CAST ((klass), \
 
37
  CC_TYPE_MEDIA_PANEL, CcMediaPanelClass))
 
38
 
 
39
#define CC_IS_MEDIA_PANEL(obj) \
 
40
  (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
 
41
  CC_TYPE_MEDIA_PANEL))
 
42
 
 
43
#define CC_IS_MEDIA_PANEL_CLASS(klass) \
 
44
  (G_TYPE_CHECK_CLASS_TYPE ((klass), \
 
45
  CC_TYPE_MEDIA_PANEL))
 
46
 
 
47
#define CC_MEDIA_PANEL_GET_CLASS(obj) \
 
48
  (G_TYPE_INSTANCE_GET_CLASS ((obj), \
 
49
  CC_TYPE_MEDIA_PANEL, CcMediaPanelClass))
 
50
 
 
51
typedef struct _CcMediaPanel CcMediaPanel;
 
52
typedef struct _CcMediaPanelClass CcMediaPanelClass;
 
53
typedef struct _CcMediaPanelPrivate CcMediaPanelPrivate;
 
54
 
 
55
struct _CcMediaPanel
 
56
{
 
57
  CcPanel parent;
 
58
 
 
59
  CcMediaPanelPrivate *priv;
 
60
};
 
61
 
 
62
struct _CcMediaPanelClass
 
63
{
 
64
  CcPanelClass parent_class;
 
65
};
 
66
 
 
67
GType cc_media_panel_get_type (void) G_GNUC_CONST;
 
68
 
 
69
void  cc_media_panel_register (GIOModule *module);
 
70
 
 
71
G_END_DECLS
 
72
 
 
73
#endif /* _CC_MEDIA_PANEL_H */