2
* @file geis_backend_dbus.h
3
* @brief internal GEIS DBUS Server
2
* @file geis_dbus_server.h
3
* @brief Interface for the GEIS DBus server.
5
* The GEIS DBus server offers remote GEIS functionality over a set of managed
8
* This header is for internal GEIS use only and contains no client
9
* (externally-visible) symbols.
5
13
* Copyright 2011 Canonical Ltd.
7
15
* This library is free software; you can redistribute it and/or modify it under
14
22
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
17
* You should have received a copy of the GNU Lesser General Public License
18
* along with this program; if not, write to the Free Software Foundation, Inc.,
19
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
25
* You should have received a copy of the GNU General Public License
26
* along with this program. If not, see <http://www.gnu.org/licenses/>.
21
28
#ifndef GEIS_DBUS_SERVER_H_
22
29
#define GEIS_DBUS_SERVER_H_
24
#include "geis_backend.h"
26
#define GEIS_DBUS_MAX_BUS_NAME_LEN 64
27
#define GEIS_DBUS_MAX_BUS_OBJECT_LEN 64
29
typedef struct _GeisDBus
33
char busname[GEIS_DBUS_MAX_BUS_NAME_LEN];
34
char busobject[GEIS_DBUS_MAX_BUS_OBJECT_LEN];
38
* Constructs a new GEIS DBUS Server.
40
* @param[in] geis The API instance the Server will run in.
42
* The uTouch stack in Ubuntu Natty use DBUS to coordinate gesture and touch
43
* information between Unity and Applications.
45
GeisDBus* geis_server_dbus_new(Geis geis);
47
#endif /* GEIS_SERVER_DBUS_H_ */
31
#include "geis/geis.h"
32
#include "geis_dbus_dispatcher.h"
34
typedef struct GeisDBusServer *GeisDBusServer;
38
* Creates a new %GeisDBusServer object.
41
geis_dbus_server_new(Geis geis);
44
* Destroys a %GeisDBusServer.
46
* @param[in] server A GeisDBusServer.
49
geis_dbus_server_delete(GeisDBusServer server);
52
* Gets the address of a %GeisDBusServer.
54
* @param[in] server A GeisDBusServer.
57
geis_dbus_server_address(GeisDBusServer server);
60
* Gets the server dispatcher.
62
* @param[in] server A GeisDBusServer.
65
geis_dbus_server_dispatcher(GeisDBusServer server);
67
#endif /* GEIS_DBUS_SERVER_H_ */