plasma-framework/karambamanager.h
Alexander Wiedenbruch 0de27801c9 Add KarambaManager for easier loading of SuperKaramba themes
svn path=/trunk/KDE/kdebase/workspace/plasma/lib/; revision=670527
2007-06-01 21:32:03 +00:00

37 lines
1.1 KiB
C++

/*
* Copyright (C) 2007 Alexander Wiedenbruch <wirr01@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License version 2 as
* published by the Free Software Foundation
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details
*
* You should have received a copy of the GNU Library General Public
* License along with this program; if not, write to the
* Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef KARAMBA_MANAGER_H
#define KARAMBA_MANAGER_H
#include <QObject>
#include <QGraphicsScene>
#include <KUrl>
extern "C" {
typedef QGraphicsItemGroup* (*startKaramba)(const KUrl &theme, QGraphicsView *view);
}
class KarambaManager
{
public:
static QGraphicsItemGroup* loadKaramba(const KUrl &themePath, QGraphicsScene *scene);
};
#endif