~phablet-team/ubuntu-download-manager/trunk

« back to all changes in this revision

Viewing changes to ubuntu-download-manager-plugin/UbuntuDownloadManager/modules/UbuntuDownloadManager/backend.h

  • Committer: CI bot
  • Author(s): Diego Sarmentero
  • Date: 2014-03-21 05:25:10 UTC
  • mfrom: (246.2.22 ubuntu-download-manager)
  • Revision ID: ps-jenkins@lists.canonical.com-20140321052510-l2ser2ogsskt3xap
- Add QML Plugin to manage downloads from applications without C++ backend needed. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef BACKEND_PLUGIN_H
 
2
#define BACKEND_PLUGIN_H
 
3
 
 
4
#include <QtQml/QQmlEngine>
 
5
#include <QtQml/QQmlExtensionPlugin>
 
6
 
 
7
class BackendPlugin : public QQmlExtensionPlugin
 
8
{
 
9
    Q_OBJECT
 
10
    Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QQmlExtensionInterface")
 
11
 
 
12
public:
 
13
    void registerTypes(const char *uri);
 
14
    void initializeEngine(QQmlEngine *engine, const char *uri);
 
15
};
 
16
#endif // BACKEND_PLUGIN_H
 
17