QtAutoUpdater  3.0.0
A Qt library to automatically check for updates and install them
updaterplugin.h
Go to the documentation of this file.
1 #ifndef QTAUTOUPDATER_UPDATERPLUGIN_H
2 #define QTAUTOUPDATER_UPDATERPLUGIN_H
3 
4 #include "QtAutoUpdaterCore/qtautoupdatercore_global.h"
5 #include "QtAutoUpdaterCore/updaterbackend.h"
6 
7 namespace QtAutoUpdater {
8 
10 class Q_AUTOUPDATERCORE_EXPORT UpdaterPlugin
11 {
12  Q_DISABLE_COPY(UpdaterPlugin)
13 
14 public:
15  UpdaterPlugin();
16  virtual ~UpdaterPlugin();
17 
19  virtual UpdaterBackend *create(QString key, QObject *parent) = 0;
20 };
21 
22 }
23 
25 #define QtAutoUpdater_UpdaterPlugin_iid "de.skycoder42.qtautoupdater.core.UpdaterPlugin"
26 
28 
29 #endif // QTAUTOUPDATER_UPDATERPLUGIN_H
QtAutoUpdater_UpdaterPlugin_iid
#define QtAutoUpdater_UpdaterPlugin_iid
The IID of the QtAutoUpdater::UpdaterPlugin interface.
Definition: updaterplugin.h:25
QString
QObject
QtAutoUpdater
The QtAutoUpdater namespace holds all classes that are related with the updater.
Definition: adminauthoriser.h:9
QtAutoUpdater::UpdaterPlugin
The plugin interface to implement to create an updater plugin.
Definition: updaterplugin.h:10
QtAutoUpdater::UpdaterBackend
An interface to be implemented by updater plugins to provide the updater functionalities.
Definition: updaterbackend.h:22