~oem-solutions-group/unity-2d/indicator-sound

« back to all changes in this revision

Viewing changes to src/scrub-widget.h

  • Committer: Ken VanDine
  • Date: 2010-09-14 19:26:42 UTC
  • mfrom: (28.9.20 upstream)
  • Revision ID: ken.vandine@canonical.com-20100914192642-xdxqx5fzv7k1t0e5
Tags: 0.4.5-0ubuntu1
releasing version 0.4.5-0ubuntu1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
Copyright 2010 Canonical Ltd.
3
 
 
4
 
Authors:
5
 
    Conor Curran <conor.curran@canonical.com>
6
 
 
7
 
This program is free software: you can redistribute it and/or modify it 
8
 
under the terms of the GNU General Public License version 3, as published 
9
 
by the Free Software Foundation.
10
 
 
11
 
This program is distributed in the hope that it will be useful, but 
12
 
WITHOUT ANY WARRANTY; without even the implied warranties of 
13
 
MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR 
14
 
PURPOSE.  See the GNU General Public License for more details.
15
 
 
16
 
You should have received a copy of the GNU General Public License along 
17
 
with this program.  If not, see <http://www.gnu.org/licenses/>.
18
 
*/
19
 
#ifndef __SCRUB_WIDGET_H__
20
 
#define __SCRUB_WIDGET_H__
21
 
 
22
 
#include <glib.h>
23
 
#include <glib-object.h>
24
 
#include <libdbusmenu-gtk/menuitem.h>
25
 
 
26
 
G_BEGIN_DECLS
27
 
 
28
 
#define SCRUB_WIDGET_TYPE            (scrub_widget_get_type ())
29
 
#define SCRUB_WIDGET(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), SCRUB_WIDGET_TYPE, ScrubWidget))
30
 
#define SCRUB_WIDGET_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), SCRUB_WIDGET_TYPE, ScrubWidgetClass))
31
 
#define IS_SCRUB_WIDGET(obj)         (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SCRUB_WIDGET_TYPE))
32
 
#define IS_SCRUB_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SCRUB_WIDGET_TYPE))
33
 
#define SCRUB_WIDGET_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj), SCRUB_WIDGET_TYPE, ScrubWidgetClass))
34
 
 
35
 
typedef struct _ScrubWidget     ScrubWidget;
36
 
typedef struct _ScrubWidgetClass        ScrubWidgetClass;
37
 
 
38
 
struct _ScrubWidgetClass {
39
 
  GObjectClass parent_class;
40
 
};
41
 
 
42
 
struct _ScrubWidget {
43
 
        GObject parent;
44
 
};
45
 
 
46
 
GType scrub_widget_get_type (void) G_GNUC_CONST;
47
 
GtkWidget* scrub_widget_new(DbusmenuMenuitem* twin_item);
48
 
GtkWidget* scrub_widget_get_ido_bar(ScrubWidget* self);
49
 
 
50
 
G_END_DECLS
51
 
 
52
 
#endif
53