frameworkd-glib-dbus: don't call deprecated g_type_init for glib-2.35* and newer
[libframeworkd-glib.git] / src / opimd / frameworkd-glib-opimd-dbus.h
blob7a7530a4cb5957fdae927da32e3004127abe99a9
1 /*
2 * Copyright (C) 2009
3 * Authors (alphabetical) :
4 * mrmoku (Klaus Kurzmann, mok@fluxnetz.de)
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU Public License as published by
8 * the Free Software Foundation; version 2 of the license.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU Lesser Public License for more details.
17 #ifndef FRAMEWORKD_GLIB_OPIMD_DBUS_H
18 #define FRAMEWORKD_GLIB_OPIMD_DBUS_H
20 #include <glib.h>
21 #include <dbus/dbus-glib.h>
22 #include "../frameworkd-glib-dbus.h"
24 G_BEGIN_DECLS
25 #define DEBUG
26 #define OPIMD_BUS "org.freesmartphone.opimd"
27 #define CONTACTS_BUS_PATH "/org/freesmartphone/PIM/Contacts"
28 #define CONTACTS_INTERFACE "org.freesmartphone.PIM.Contacts"
29 #define CONTACT_INTERFACE "org.freesmartphone.PIM.Contact"
30 #define CONTACT_QUERY_INTERFACE "org.freesmartphone.PIM.ContactQuery"
31 #define MESSAGES_BUS_PATH "/org/freesmartphone/PIM/Messages"
32 #define MESSAGES_INTERFACE "org.freesmartphone.PIM.Messages"
33 #define MESSAGE_INTERFACE "org.freesmartphone.PIM.Message"
34 #define MESSAGE_QUERY_INTERFACE "org.freesmartphone.PIM.MessageQuery"
35 #define MESSAGE_FOLDER_INTERFACE "org.freesmartphone.PIM.MessageFolder"
36 #define SOURCES_BUS_PATH "/org/freesmartphone/PIM/Sources"
37 #define SOURCES_INTERFACE "org.freesmartphone.PIM.Sources"
38 #define SOURCE_INTERFACE "org.freesmartphone.PIM.Source"
39 #define CALLS_BUS_PATH "/org/freesmartphone/PIM/Calls"
40 #define CALLS_INTERFACE "org.freesmartphone.PIM.Calls"
41 #define PIM_CALL_INTERFACE "org.freesmartphone.PIM.Call"
42 #define CALL_QUERY_INTERFACE "org.freesmartphone.PIM.CallQuery"
43 #define TYPES_BUS_PATH "/org/freesmartphone.PIM.Types"
44 #define TYPES_INTERFACE "org.freesmartphone.PIM.Types"
45 #define FIELDS_INTERFACE "org.freesmartphone.PIM.Fields"
46 #define TASKS_BUS_PATH "/org/freesmartphone/PIM/Tasks"
47 #define TASKS_INTERFACE "org.freesmartphone.PIM.Tasks"
49 void dbus_connect_to_opimd_types();
50 DBusGProxy *dbus_connect_to_opimd_fields(const char *domain);
52 void dbus_connect_to_opimd_contacts();
53 DBusGProxy *dbus_connect_to_opimd_contact(const char *contact_path);
54 DBusGProxy *dbus_connect_to_opimd_contact_query(const char *query_path);
56 void dbus_connect_to_opimd_messages();
57 DBusGProxy *dbus_connect_to_opimd_message(const char *message_path);
58 DBusGProxy *dbus_connect_to_opimd_message_query(const char *query_path);
59 DBusGProxy *dbus_connect_to_opimd_message_folder(const char *folder_path);
61 void dbus_connect_to_opimd_sources();
62 DBusGProxy *dbus_connect_to_opimd_source(const char *source_path);
64 void dbus_connect_to_opimd_calls();
65 DBusGProxy *
66 dbus_connect_to_opimd_call(const char *call_path);
67 DBusGProxy *
68 dbus_connect_to_opimd_call_query(const char *query_path);
70 void dbus_connect_to_opimd_tasks();
72 G_END_DECLS
73 #endif