~ps-jenkins/sync-monitor/utopic-proposed

« back to all changes in this revision

Viewing changes to Ubuntu/SyncMonitor/plugin.h

  • Committer: CI bot
  • Author(s): Renato Araujo Oliveira Filho
  • Date: 2014-05-02 17:07:42 UTC
  • mfrom: (24.2.3 sync-monitor-qml)
  • Revision ID: ps-jenkins@lists.canonical.com-20140502170742-pz0pd5lct37g57jl
Created QML bindings to access the sync monitor information. Fixes: 1311125

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright 2014 Canonical Ltd.
 
3
 *
 
4
 * This file is part of sync-monitor.
 
5
 *
 
6
 * sync-monitor is free software; you can redistribute it and/or modify
 
7
 * it under the terms of the GNU General Public License as published by
 
8
 * the Free Software Foundation; version 3.
 
9
 *
 
10
 * contact-service-app is distributed in the hope that it will be useful,
 
11
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
13
 * GNU General Public License for more details.
 
14
 *
 
15
 * You should have received a copy of the GNU General Public License
 
16
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
17
 */
 
18
 
 
19
#ifndef SYNCMONITOR_QML_PLUGIN_H
 
20
#define SYNCMONITOR_QML_PLUGIN_H
 
21
 
 
22
#include <QQmlExtensionPlugin>
 
23
 
 
24
class SyncMonitorPlugin : public QQmlExtensionPlugin
 
25
{
 
26
    Q_OBJECT
 
27
    Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QQmlExtensionInterface")
 
28
 
 
29
public:
 
30
    void registerTypes(const char *uri);
 
31
};
 
32
 
 
33
#endif //SYNCMONITOR_QML_PLUGIN_H