DataEngineConsumer header
This commit is contained in:
parent
1c00d44a50
commit
674a9191c5
46
dataengineconsumer.h
Normal file
46
dataengineconsumer.h
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2012 by Aaron Seigo <aseigo@kde.org>
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU Library General Public License as
|
||||||
|
* published by the Free Software Foundation; either version 2, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* 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 PLASMA_DATAENGINECONSUMER_H
|
||||||
|
#define PLASMA_DATAENGINECONSUMER_H
|
||||||
|
|
||||||
|
#include <QtCore/QUrl>
|
||||||
|
|
||||||
|
namespace Plasma
|
||||||
|
{
|
||||||
|
|
||||||
|
class DataEngine;
|
||||||
|
class DataEngineConsumerPrivate;
|
||||||
|
|
||||||
|
class DataEngineConsumer
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
DataEngineConsumer();
|
||||||
|
~DataEngineConsumer();
|
||||||
|
DataEngine *dataEngine(const QString &name, const QUrl &location = QUrl());
|
||||||
|
|
||||||
|
private:
|
||||||
|
DataEngineConsumerPrivate * const d;
|
||||||
|
};
|
||||||
|
|
||||||
|
} // namespace Plasma
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user