From 8a796b594669c54a34b2e416ff0d931aaa3cc76d Mon Sep 17 00:00:00 2001 From: harlekin Date: Tue, 03 Feb 2004 22:25:41 +0000 Subject: today example plugin --- (limited to 'examples/todayplugin/examplepluginimpl.h') diff --git a/examples/todayplugin/examplepluginimpl.h b/examples/todayplugin/examplepluginimpl.h new file mode 100644 index 0000000..2c10583 --- a/dev/null +++ b/examples/todayplugin/examplepluginimpl.h @@ -0,0 +1,40 @@ +/* + * examplepluginimpl.h + * + * copyright : (c) 2004 by Maximilian Reiß + * email : harlekin@handhelds.org + * + */ +/*************************************************************************** + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + ***************************************************************************/ + +#ifndef EXAMPLE_PLUGIN_IMPL_H +#define EXAMPLE_PLUGIN_IMPL_H + +#include + +class ExamplePlugin; + +class ExamplePluginImpl : public TodayPluginInterface{ + +public: + ExamplePluginImpl(); + virtual ~ExamplePluginImpl(); + + QRESULT queryInterface( const QUuid &, QUnknownInterface** ); + Q_REFCOUNT + + virtual TodayPluginObject *guiPart(); + +private: + ExamplePlugin *examplePlugin; + ulong ref; +}; + +#endif -- cgit v0.9.0.2