From 674a9191c5a7909d320d3f314810def31a56f1fe Mon Sep 17 00:00:00 2001 From: Aaron Seigo Date: Mon, 24 Sep 2012 16:09:48 +0200 Subject: [PATCH] DataEngineConsumer header --- dataengineconsumer.h | 46 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 dataengineconsumer.h diff --git a/dataengineconsumer.h b/dataengineconsumer.h new file mode 100644 index 000000000..a2af7d644 --- /dev/null +++ b/dataengineconsumer.h @@ -0,0 +1,46 @@ +/* + * Copyright 2012 by Aaron Seigo + * + * 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 + +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 + +