~jonas-drange/ubuntu-system-settings/apl

« back to all changes in this revision

Viewing changes to plugins/launcher/plugin/launcher-plugin.h

  • Committer: Jonas G. Drange
  • Date: 2016-12-05 13:53:37 UTC
  • mfrom: (1728.1.8 main_list_view)
  • Revision ID: jonas.drange@canonical.com-20161205135337-p3n3qidu5c8n1hxz
merges in prereq

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * This file is part of system-settings
 
3
 *
 
4
 * Copyright (C) 2016 Canonical Ltd.
 
5
 *
 
6
 * This program is free software: you can redistribute it and/or modify it
 
7
 * under the terms of the GNU General Public License version 3, as published
 
8
 * by the Free Software Foundation.
 
9
 *
 
10
 * This program is distributed in the hope that it will be useful, but
 
11
 * WITHOUT ANY WARRANTY; without even the implied warranties of
 
12
 * MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
 
13
 * PURPOSE.  See the GNU General Public License for more details.
 
14
 *
 
15
 * You should have received a copy of the GNU General Public License along
 
16
 * with this program.  If not, see <http://www.gnu.org/licenses/>.
 
17
 *
 
18
 */
 
19
 
 
20
#ifndef SYSTEM_SETTINGS_LAUNCHER_PLUGIN_H
 
21
#define SYSTEM_SETTINGS_LAUNCHER_PLUGIN_H
 
22
 
 
23
#include <QObject>
 
24
#include <SystemSettings/PluginInterface>
 
25
 
 
26
class LauncherPlugin: public QObject, public SystemSettings::PluginInterface2
 
27
{
 
28
    Q_OBJECT
 
29
    Q_PLUGIN_METADATA(IID "com.ubuntu.SystemSettings.PluginInterface/2.0")
 
30
    Q_INTERFACES(SystemSettings::PluginInterface2)
 
31
 
 
32
public:
 
33
    SystemSettings::ItemBase *createItem(const QVariantMap &staticData,
 
34
                                         QObject *parent = 0);
 
35
};
 
36
 
 
37
#endif // SYSTEM_SETTINGS_LAUNCHER_PLUGIN_H