~ubuntu-branches/ubuntu/natty/kdebase-runtime/natty-proposed

« back to all changes in this revision

Viewing changes to plasma/declarativeimports/core/corebindingsplugin.h

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2010-11-24 11:07:10 UTC
  • mto: (0.8.7 upstream)
  • mto: This revision was merged to the branch mainline in revision 129.
  • Revision ID: james.westby@ubuntu.com-20101124110710-6dbsyw0yh21qvn82
Tags: upstream-4.5.80
Import upstream version 4.5.80

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 *   Copyright 2009 by Alan Alpert <alan.alpert@nokia.com>
 
3
 *   Copyright 2010 by Ménard Alexis <menard@kde.org>
 
4
 *   Copyright 2010 by Marco Martin <mart@kde.org>
 
5
 
 
6
 *   This program is free software; you can redistribute it and/or modify
 
7
 *   it under the terms of the GNU Library General Public License as
 
8
 *   published by the Free Software Foundation; either version 2, or
 
9
 *   (at your option) any later version.
 
10
 *
 
11
 *   This program is distributed in the hope that it will be useful,
 
12
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
 
13
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
14
 *   GNU General Public License for more details
 
15
 *
 
16
 *   You should have received a copy of the GNU Library General Public
 
17
 *   License along with this program; if not, write to the
 
18
 *   Free Software Foundation, Inc.,
 
19
 *   51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
20
 */
 
21
 
 
22
#ifndef COREBINDINGSPLUGIN_H
 
23
#define COREBINDINGSPLUGIN_H
 
24
 
 
25
#include <QDeclarativeExtensionPlugin>
 
26
 
 
27
#include <Plasma/Service>
 
28
 
 
29
Q_DECLARE_METATYPE(Plasma::Service*)
 
30
 
 
31
class CoreBindingsPlugin : public QDeclarativeExtensionPlugin
 
32
{
 
33
    Q_OBJECT
 
34
 
 
35
public:
 
36
    void registerTypes(const char *uri);
 
37
};
 
38
 
 
39
Q_EXPORT_PLUGIN2(corebindingsplugin, CoreBindingsPlugin)
 
40
 
 
41
#endif