Buteo Synchronization Framework
StorageChangeNotifierPluginLoader.h
1/*
2 * This file is part of buteo-syncfw package
3 *
4 * Copyright (C) 2021 Jolla Ltd.
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public License
8 * version 2.1 as published by the Free Software Foundation.
9 *
10 * This library is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
18 * 02110-1301 USA
19 *
20 */
21#ifndef STORAGECHANGENOTIFIERPLUGINLOADER_H
22#define STORAGECHANGENOTIFIERPLUGINLOADER_H
23
24#include <QObject>
25
26namespace Buteo {
27
28class StorageChangeNotifierPlugin;
29
34{
35 Q_OBJECT
36public:
37 virtual StorageChangeNotifierPlugin *createPlugin(const QString &aStorageName) = 0;
38};
39
40}
41
42Q_DECLARE_INTERFACE(Buteo::StorageChangeNotifierPluginLoader, "com.buteo.msyncd.StorageChangeNotifierPluginLoader/1.0")
43
44#endif // STORAGECHANGENOTIFIERPLUGINLOADER_H
Base class for storage change notifier plugin loaders.
Definition: StorageChangeNotifierPluginLoader.h:34
Implement this class to notify about changes in a specific storage - contacts/calendar/sms,...
Definition: StorageChangeNotifierPlugin.h:15