2
* Copyright (C) 2008 Nick Shaforostoff <shaforostoff@kde.ru>
5
* Copyright (C) 2007 Thomas Georgiou <TAGeorgiou@gmail.com> and Jeff Cooper <weirdsox11@gmail.com>
7
* This program is free software; you can redistribute it and/or
8
* modify it under the terms of the GNU General Public License as
9
* published by the Free Software Foundation; either version 2 of
10
* the License, or (at your option) any later version.
12
* This program is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
17
* You should have received a copy of the GNU General Public License
18
* along with this program. If not, see <http://www.gnu.org/licenses/>.
27
#include <Nepomuk/Resource>
29
#include "../../Plugin.h"
32
class NepomukPlugin: public Plugin {
34
NepomukPlugin(QObject *parent = 0, const QVariantList & args = QVariantList());
36
virtual void addEvents(const EventList & events);
38
static NepomukPlugin * self();
43
Nepomuk::Resource createDesktopEvent(const KUrl& uri, const QDateTime& startTime, const QString& app);
45
Nepomuk::Resource m_currentActivity;
46
Rankings * m_rankings;
48
static NepomukPlugin * s_instance;