This file is indexed.

/usr/include/buteosyncfw5/SyncDaemonProxy.h is in libbuteosyncfw5-dev 0.7.21+16.04.20151216.1-0ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
/*
 * This file is part of buteo-syncfw package
 *
 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
 *
 * Contact: Sateesh Kavuri <sateesh.kavuri@nokia.com>
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public License
 * version 2.1 as published by the Free Software Foundation.
 *
 * This library is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
 * 02110-1301 USA
 *
 */

/*
 * This file was generated by qdbusxml2cpp version 0.7
 * Command line was: qdbusxml2cpp -p SyncDaemonProxy -N -c SyncDaemonProxy com.meego.msyncd.xml
 *
 * qdbusxml2cpp is Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
 *
 * This is an auto-generated file.
 * Do not edit! All changes made to it will be lost.
 */

#ifndef SYNCDAEMONPROXY_H_1280213538
#define SYNCDAEMONPROXY_H_1280213538

#include <QtCore/QObject>
#include <QtCore/QByteArray>
#include <QtCore/QList>
#include <QtCore/QMap>
#include <QtCore/QString>
#include <QtCore/QStringList>
#include <QtCore/QVariant>
#include <QtDBus/QtDBus>

/*! \brief Proxy class for interface com.meego.msyncd
 */
class SyncDaemonProxy: public QDBusAbstractInterface
{
    Q_OBJECT
public:
    //! \brief  returns Interface Name
    static inline const char *staticInterfaceName()
    { return "com.meego.msyncd"; }

public:
    //! \see SyncDBusInterface::SyncDBusInterface()
    SyncDaemonProxy(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = 0);

    //! \see SyncDBusInterface::SyncDBusInterface()
    ~SyncDaemonProxy();

public Q_SLOTS: // METHODS

    //! \see SyncDBusInterface::abortSync()
    inline Q_NOREPLY void abortSync(const QString &aProfileId)
    {
        QList<QVariant> argumentList;
        argumentList << qVariantFromValue(aProfileId);
        callWithArgumentList(QDBus::NoBlock, QLatin1String("abortSync"), argumentList);
    }

    //! \see SyncDBusInterface::addProfile()
    inline QDBusPendingReply<bool> addProfile(const QString &aProfileAsXml)
    {
        QList<QVariant> argumentList;
        argumentList << qVariantFromValue(aProfileAsXml);
        return asyncCallWithArgumentList(QLatin1String("addProfile"), argumentList);
    }

    //! \see SyncDBusInterface::allVisibleSyncProfiles()
    inline QDBusPendingReply<QStringList> allVisibleSyncProfiles()
    {
        QList<QVariant> argumentList;
        return callWithArgumentList(QDBus::Block, QLatin1String("allVisibleSyncProfiles"), argumentList);
    }

    //! \see SyncDBusInterface::getBackUpRestoreState()
    inline QDBusPendingReply<bool> getBackUpRestoreState()
    {
        QList<QVariant> argumentList;
        return asyncCallWithArgumentList(QLatin1String("getBackUpRestoreState"), argumentList);
    }

    //! \see SyncDBusInterface::getLastSyncResult()
    inline QDBusPendingReply<QString> getLastSyncResult(const QString &aProfileId)
    {
        QList<QVariant> argumentList;
        argumentList << qVariantFromValue(aProfileId);
        return asyncCallWithArgumentList(QLatin1String("getLastSyncResult"), argumentList);
    }

    //! \see SyncDBusInterface::isLastSyncScheduled()
    inline QDBusPendingReply<bool> isLastSyncScheduled(const QString &aProfileId)
    {
        QList<QVariant> argumentList;
        argumentList << qVariantFromValue(aProfileId);
        return asyncCallWithArgumentList(QLatin1String("isLastSyncScheduled"), argumentList);
    }

    //! \see SyncDBusInterface::lastSyncMajorCode()
    inline QDBusPendingReply<int> lastSyncMajorCode(const QString &aProfileId)
    {
        QList<QVariant> argumentList;
        argumentList << qVariantFromValue(aProfileId);
        return asyncCallWithArgumentList(QLatin1String("lastSyncMajorCode"), argumentList);
    }

    //! \see SyncDBusInterface::lastSyncMinorCode()
    inline QDBusPendingReply<int> lastSyncMinorCode(const QString &aProfileId)
    {
        QList<QVariant> argumentList;
        argumentList << qVariantFromValue(aProfileId);
        return asyncCallWithArgumentList(QLatin1String("lastSyncMinorCode"), argumentList);
    }
    //! \see SyncDBusInterface::lastSyncTime()
    inline QDBusPendingReply<QString> lastSyncTime(const QString &aProfileId)
    {
        QList<QVariant> argumentList;
        argumentList << qVariantFromValue(aProfileId);
        return asyncCallWithArgumentList(QLatin1String("lastSyncTime"), argumentList);
    }

    //! \see SyncDBusInterface::releaseStorages()
    inline Q_NOREPLY void releaseStorages(const QStringList &aStorageNames)
    {
        QList<QVariant> argumentList;
        argumentList << qVariantFromValue(aStorageNames);
        callWithArgumentList(QDBus::NoBlock, QLatin1String("releaseStorages"), argumentList);
    }

    //! \see SyncDBusInterface::removeProfile()
    inline QDBusPendingReply<bool> removeProfile(const QString &aProfileId)
    {
        QList<QVariant> argumentList;
        argumentList << qVariantFromValue(aProfileId);
        return asyncCallWithArgumentList(QLatin1String("removeProfile"), argumentList);
    }

    //! \see SyncDBusInterface::requestStorages()
    inline QDBusPendingReply<bool> requestStorages(const QStringList &aStorageNames)
    {
        QList<QVariant> argumentList;
        argumentList << qVariantFromValue(aStorageNames);
        return asyncCallWithArgumentList(QLatin1String("requestStorages"), argumentList);
    }

    //! \see SyncDBusInterface::runningSyncs()
    inline QDBusPendingReply<QStringList> runningSyncs()
    {
        QList<QVariant> argumentList;
        return asyncCallWithArgumentList(QLatin1String("runningSyncs"), argumentList);
    }

    //! \see SyncDBusInterface::saveSyncResults()
    inline QDBusPendingReply<bool> saveSyncResults(const QString &aProfileId, const QString &aSyncResults)
    {
        QList<QVariant> argumentList;
        argumentList << qVariantFromValue(aProfileId) << qVariantFromValue(aSyncResults);
        return asyncCallWithArgumentList(QLatin1String("saveSyncResults"), argumentList);
    }

    //! \see SyncDBusInterface::setSyncSchedule()
    inline QDBusPendingReply<bool> setSyncSchedule(const QString &aProfileId, const QString &aScheduleAsXml)
    {
        QList<QVariant> argumentList;
        argumentList << qVariantFromValue(aProfileId) << qVariantFromValue(aScheduleAsXml);
        return asyncCallWithArgumentList(QLatin1String("setSyncSchedule"), argumentList);
    }

    //! \see SyncDBusInterface::startSync()
    inline QDBusPendingReply<bool> startSync(const QString &aProfileId)
    {
        QList<QVariant> argumentList;
        argumentList << qVariantFromValue(aProfileId);
        return asyncCallWithArgumentList(QLatin1String("startSync"), argumentList);
    }

    //! \see SyncDBusInterface::syncProfile()
    inline QDBusPendingReply<QString> syncProfile(const QString &aProfileId)
    {
        QList<QVariant> argumentList;
        argumentList << qVariantFromValue(aProfileId);
        return callWithArgumentList(QDBus::Block, QLatin1String("syncProfile"), argumentList);
    }
    
    //! \see SyncDBusInterface::syncProfilesByKey
    inline QDBusPendingReply<QStringList> syncProfilesByKey(const QString &aKey, const QString &aValue)
    {
        QList<QVariant> argumentList;
        argumentList << qVariantFromValue(aKey) << qVariantFromValue(aValue);
        return asyncCallWithArgumentList(QLatin1String("syncProfilesByKey"), argumentList);
    }
    
    //! \see SyncDBusInterface::syncProfilesByType
    inline QDBusPendingReply<QStringList> syncProfilesByType(const QString &aType)
    {
        QList<QVariant> argumentList;
        argumentList << qVariantFromValue(aType);
        return asyncCallWithArgumentList(QLatin1String("syncProfilesByType"), argumentList);
    }

    //! \see SyncDBusInterface::updateProfile()
    inline QDBusPendingReply<bool> updateProfile(const QString &aProfileAsXml)
    {
        QList<QVariant> argumentList;
        argumentList << qVariantFromValue(aProfileAsXml);
        return asyncCallWithArgumentList(QLatin1String("updateProfile"), argumentList);
    }

Q_SIGNALS: // SIGNALS

    //! \see SyncDBusInterface::backupDone()
    void backupDone();

    //! \see SyncDBusInterface::backupInProgress()
    void backupInProgress();

    //! \see SyncDBusInterface::restoreDone()
    void restoreDone();

    //! \see SyncDBusInterface::restoreInProgress()
    void restoreInProgress();

    //! \see SyncDBusInterface::resultsAvailable()
    void resultsAvailable(const QString &aProfileName, const QString &aResultsAsXml);

    //! \see SyncDBusInterface::signalProfileChanged()
    void signalProfileChanged(const QString &aProfileName, int aChangeType, const QString &aProfileAsXml);

    //! \see SyncDBusInterface::syncStatus()
    void syncStatus(const QString &aProfileName, int aStatus, const QString &aMessage, int aErrorCode);

    //! \see SyncDBusInterface::transferProgress()
    void transferProgress(const QString &aProfileName, int aTransferDatabase, int aTransferType, const QString &aMimeType, int aCommittedItems);
};

#endif