~ubuntu-branches/ubuntu/vivid/gnome-flashback/vivid

« back to all changes in this revision

Viewing changes to gnome-flashback/libsound-applet/gvc-applet.h

  • Committer: Package Import Robot
  • Author(s): Dmitry Shachnev
  • Date: 2014-09-19 17:09:43 UTC
  • Revision ID: package-import@ubuntu.com-20140919170943-oboafsedi6z69951
Tags: upstream-3.10.0
ImportĀ upstreamĀ versionĀ 3.10.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright (C) 2008 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 3 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, see <http://www.gnu.org/licenses/>.
 
16
 */
 
17
 
 
18
#ifndef __GVC_APPLET_H
 
19
#define __GVC_APPLET_H
 
20
 
 
21
#include <glib-object.h>
 
22
 
 
23
G_BEGIN_DECLS
 
24
 
 
25
#define GVC_TYPE_APPLET         (gvc_applet_get_type ())
 
26
#define GVC_APPLET(o)           (G_TYPE_CHECK_INSTANCE_CAST ((o), GVC_TYPE_APPLET, GvcApplet))
 
27
#define GVC_APPLET_CLASS(k)     (G_TYPE_CHECK_CLASS_CAST((k), GVC_TYPE_APPLET, GvcAppletClass))
 
28
#define GVC_IS_APPLET(o)        (G_TYPE_CHECK_INSTANCE_TYPE ((o), GVC_TYPE_APPLET))
 
29
#define GVC_IS_APPLET_CLASS(k)  (G_TYPE_CHECK_CLASS_TYPE ((k), GVC_TYPE_APPLET))
 
30
#define GVC_APPLET_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GVC_TYPE_APPLET, GvcAppletClass))
 
31
 
 
32
typedef struct GvcAppletPrivate GvcAppletPrivate;
 
33
 
 
34
typedef struct
 
35
{
 
36
        GObject            parent;
 
37
        GvcAppletPrivate *priv;
 
38
} GvcApplet;
 
39
 
 
40
typedef struct
 
41
{
 
42
        GObjectClass   parent_class;
 
43
} GvcAppletClass;
 
44
 
 
45
GType               gvc_applet_get_type            (void);
 
46
 
 
47
GvcApplet *         gvc_applet_new                 (void);
 
48
void                gvc_applet_start               (GvcApplet     *applet);
 
49
 
 
50
G_END_DECLS
 
51
 
 
52
#endif /* __GVC_APPLET_H */