2
* This file is part of unity-2d
4
* Copyright 2011 Canonical Ltd.
7
* - Ugo Riboni <ugo.riboni@canonical.com>
9
* This program is free software; you can redistribute it and/or modify
10
* it under the terms of the GNU General Public License as published by
11
* the Free Software Foundation; version 3.
13
* This program is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
* GNU General Public License for more details.
18
* You should have received a copy of the GNU General Public License
19
* along with this program. If not, see <http://www.gnu.org/licenses/>
22
#ifndef PANELAPPLETPROVIDERINTERFACE_H
23
#define PANELAPPLETPROVIDERINTERFACE_H
25
#include "panelapplet.h"
30
class PanelAppletProviderInterface
33
virtual QString appletName() const = 0;
34
virtual PanelApplet* createApplet(Unity2dPanel* panel) const = 0;
37
} // namespace Unity2d
39
Q_DECLARE_INTERFACE(Unity2d::PanelAppletProviderInterface,
40
"com.canonical.Unity2d.PanelAppletProviderInterface/1.0")
42
#endif // PANELAPPLETPROVIDERINTERFACE_H