~leighman/ubuntu/raring/workrave/fix-desktop-file-2

« back to all changes in this revision

Viewing changes to frontend/gtkmm/src/DBusGUI.hh

  • Committer: Package Import Robot
  • Author(s): Michael Terry
  • Date: 2013-01-24 11:04:41 UTC
  • mto: This revision was merged to the branch mainline in revision 16.
  • Revision ID: package-import@ubuntu.com-20130124110441-t06q3xlc7mp4406p
Tags: upstream-1.10
ImportĀ upstreamĀ versionĀ 1.10

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
//
 
2
//
 
3
 
 
4
#ifndef DBUS_DBusGUI_HH
 
5
#define DBUS_DBusGUI_HH
 
6
 
 
7
#ifdef HAVE_CONFIG_H
 
8
#include "config.h"
 
9
#endif
 
10
 
 
11
#include "DBusBinding-gio.hh"
 
12
 
 
13
 
 
14
 
 
15
#include "Menus.hh"
 
16
 
 
17
using namespace std;
 
18
 
 
19
class org_workrave_ControlInterface
 
20
{
 
21
public:
 
22
  virtual ~org_workrave_ControlInterface() {}
 
23
 
 
24
  static org_workrave_ControlInterface *instance(const DBus *dbus);
 
25
 
 
26
};
 
27
 
 
28
 
 
29
 
 
30
 
 
31
#include "GenericDBusApplet.hh"
 
32
 
 
33
using namespace std;
 
34
 
 
35
class org_workrave_AppletInterface
 
36
{
 
37
public:
 
38
  virtual ~org_workrave_AppletInterface() {}
 
39
 
 
40
  static org_workrave_AppletInterface *instance(const DBus *dbus);
 
41
 
 
42
  virtual void TimersUpdated(const string &path,        GenericDBusApplet::TimerData &micro      , GenericDBusApplet::TimerData &rest      , GenericDBusApplet::TimerData &daily  ) = 0;
 
43
  virtual void MenuUpdated(const string &path,        GenericDBusApplet::MenuItems &menuitems  ) = 0;
 
44
};
 
45
 
 
46
 
 
47
 
 
48
#if defined(HAVE_PANELAPPLET2) || defined(HAVE_PANELAPPLET4)
 
49
 
 
50
#include "gdk/gdk.h"
 
51
#include "GnomeAppletWindow.hh"
 
52
#include "Orientation.hh"
 
53
 
 
54
using namespace std;
 
55
 
 
56
class org_workrave_GnomeAppletSupportInterface
 
57
{
 
58
public:
 
59
  virtual ~org_workrave_GnomeAppletSupportInterface() {}
 
60
 
 
61
  static org_workrave_GnomeAppletSupportInterface *instance(const DBus *dbus);
 
62
 
 
63
};
 
64
 
 
65
#endif // defined(HAVE_PANELAPPLET2) || defined(HAVE_PANELAPPLET4)
 
66
 
 
67
 
 
68
#endif // DBUS_DBusGUI_HH