Buteo Synchronization Framework
ButeoPluginIface.h
1 /*
2  * This file was generated by qdbusxml2cpp version 0.8
3  * Command line was: qdbusxml2cpp -v -c ButeoPluginIface -p ButeoPluginIface.h:ButeoPluginIface.cpp com.buteo.msyncd.baseplugin.xml
4  *
5  * qdbusxml2cpp is Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
6  *
7  * This is an auto-generated file.
8  * Do not edit! All changes made to it will be lost.
9  */
10 
11 #ifndef BUTEOPLUGINIFACE_H_1391581887
12 #define BUTEOPLUGINIFACE_H_1391581887
13 
14 #include <QtCore/QObject>
15 #include <QtCore/QByteArray>
16 #include <QtCore/QList>
17 #include <QtCore/QMap>
18 #include <QtCore/QString>
19 #include <QtCore/QStringList>
20 #include <QtCore/QVariant>
21 #include <QtDBus/QtDBus>
22 
23 #include <SyncCommonDefs.h>
24 
25 /*
26  * Proxy class for interface com.buteo.msyncd.baseplugin
27  */
28 class ButeoPluginIface: public QDBusAbstractInterface
29 {
30  Q_OBJECT
31 public:
32  static inline const char *staticInterfaceName()
33  {
34  return "com.buteo.msyncd.baseplugin";
35  }
36 
37 public:
38  ButeoPluginIface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = 0);
39 
41 
42 public Q_SLOTS: // METHODS
43  inline QDBusPendingReply<> abortSync(uchar aStatus)
44  {
45  QList<QVariant> argumentList;
46  argumentList << QVariant::fromValue(aStatus);
47  return asyncCallWithArgumentList(QLatin1String("abortSync"), argumentList);
48  }
49 
50  inline QDBusPendingReply<bool> cleanUp()
51  {
52  QList<QVariant> argumentList;
53  return asyncCallWithArgumentList(QLatin1String("cleanUp"), argumentList);
54  }
55 
56  inline QDBusPendingReply<> connectivityStateChanged(int aType, bool aState)
57  {
58  QList<QVariant> argumentList;
59  argumentList << QVariant::fromValue(aType) << QVariant::fromValue(aState);
60  return asyncCallWithArgumentList(QLatin1String("connectivityStateChanged"), argumentList);
61  }
62 
63  inline QDBusPendingReply<QString> getSyncResults()
64  {
65  QList<QVariant> argumentList;
66  return asyncCallWithArgumentList(QLatin1String("getSyncResults"), argumentList);
67  }
68 
69  inline QDBusPendingReply<bool> init()
70  {
71  QList<QVariant> argumentList;
72  return asyncCallWithArgumentList(QLatin1String("init"), argumentList);
73  }
74 
75  inline QDBusPendingReply<> resume()
76  {
77  QList<QVariant> argumentList;
78  return asyncCallWithArgumentList(QLatin1String("resume"), argumentList);
79  }
80 
81  inline QDBusPendingReply<bool> startListen()
82  {
83  QList<QVariant> argumentList;
84  return asyncCallWithArgumentList(QLatin1String("startListen"), argumentList);
85  }
86 
87  inline QDBusPendingReply<bool> startSync()
88  {
89  QList<QVariant> argumentList;
90  return asyncCallWithArgumentList(QLatin1String("startSync"), argumentList);
91  }
92 
93  inline QDBusPendingReply<> stopListen()
94  {
95  QList<QVariant> argumentList;
96  return asyncCallWithArgumentList(QLatin1String("stopListen"), argumentList);
97  }
98 
99  inline QDBusPendingReply<> suspend()
100  {
101  QList<QVariant> argumentList;
102  return asyncCallWithArgumentList(QLatin1String("suspend"), argumentList);
103  }
104 
105  inline QDBusPendingReply<bool> uninit()
106  {
107  QList<QVariant> argumentList;
108  return asyncCallWithArgumentList(QLatin1String("uninit"), argumentList);
109  }
110 
111 Q_SIGNALS: // SIGNALS
112  void accquiredStorage(const QString &aMimeType);
113  void error(const QString &aProfileName, const QString &aMessage, int aErrorCode);
114  void newSession(const QString &aDestination);
115  void success(const QString &aProfileName, const QString &aMessage);
116  void syncProgressDetail(const QString &aProfileName, int aProgressDetail);
117  void transferProgress(const QString &aProfileName, Sync::TransferDatabase aDatabase, Sync::TransferType aType,
118  const QString &aMimeType, int aCommittedItems);
119 };
120 
121 namespace com {
122 namespace buteo {
123 namespace msyncd {
124 typedef ::ButeoPluginIface baseplugin;
125 }
126 }
127 }
128 #endif
Definition: ButeoPluginIface.h:29
Definition: SyncBackupAdaptor.h:40