SVN_SILENT made messages (.desktop file)
[rsibreak.git] / plasma / engine.h
blob341c12a2aff4f0363953b504af8a4ac103d8d0c2
1 /*
2 * Copyright (c) 2008 RafaƂ Rzepecki <divided.mind@gmail.com>
3 * Copyright (C) 2008 Omat Holding B.V. <info@omat.nl>
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU Library General Public License as
7 * published by the Free Software Foundation; either version 2 or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details
15 * You should have received a copy of the GNU Library General Public
16 * License along with this program; if not, write to the
17 * Free Software Foundation, Inc.,
18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21 #ifndef RSIBREAK_ENGINE_H
22 #define RSIBREAK_ENGINE_H
24 #include <Plasma/DataEngine>
26 class OrgRsibreakRsiwidgetInterface;
28 /**
29 * This engine provides the current status of the RSIBreak application.
31 class RSIBreakEngine : public Plasma::DataEngine
33 Q_OBJECT
35 public:
36 RSIBreakEngine( QObject* parent, const QVariantList& args );
37 void init();
39 protected:
40 bool updateSourceEvent( const QString &name );
42 private:
43 OrgRsibreakRsiwidgetInterface *m_rsibreakInterface;
46 #endif // RSIBREAK_ENGINE_H