~jonas-drange/ubuntu-system-settings/fix-sound-ap-regression

« back to all changes in this revision

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

  • Committer: CI Train Bot
  • Author(s): jonas-drange
  • Date: 2015-09-10 19:01:37 UTC
  • mfrom: (1513.2.14 allow-insecure-hotspot)
  • Revision ID: ci-train-bot@canonical.com-20150910190137-jg2i95zif9nxv9xq
[hotspot] allow insecure hotspot, hide hotspot for mako, make autopilot tests run on mako, and change packaging so we get a newer Connectivity API (provided by indicator-network). Fixes: #1431876
Approved by: Ken VanDine

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