author | llornkcor <llornkcor> | 2002-10-31 00:09:31 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-10-31 00:09:31 (UTC) |
commit | 5a08fd92ac139820e1a1202d0b4b67190f24ccdb (patch) (unidiff) | |
tree | e9c0692cf445a886cd529b60f8e535922a7f5d4d /noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginimpl.cpp | |
parent | ad396dd7b58fc772423f95be050f645fc7a6d9b9 (diff) | |
download | opie-5a08fd92ac139820e1a1202d0b4b67190f24ccdb.zip opie-5a08fd92ac139820e1a1202d0b4b67190f24ccdb.tar.gz opie-5a08fd92ac139820e1a1202d0b4b67190f24ccdb.tar.bz2 |
added - initial check in
Diffstat (limited to 'noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginimpl.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginimpl.cpp | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginimpl.cpp b/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginimpl.cpp new file mode 100644 index 0000000..9a640d4 --- a/dev/null +++ b/noncore/todayplugins/stockticker/stocktickerlib/stocktickerpluginimpl.cpp | |||
@@ -0,0 +1,45 @@ | |||
1 | /* | ||
2 | * stocktickerpluginimpl.cpp | ||
3 | * | ||
4 | * copyright : (c) 2002 by L.J. Potter | ||
5 | * email : llornkcor@handhelds.org | ||
6 | * | ||
7 | */ | ||
8 | /*************************************************************************** | ||
9 | * * | ||
10 | * This program is free software; you can redistribute it and/or modify * | ||
11 | * it under the terms of the GNU General Public License as published by * | ||
12 | * the Free Software Foundation; either version 2 of the License, or * | ||
13 | * (at your option) any later version. * | ||
14 | * * | ||
15 | ***************************************************************************/ | ||
16 | |||
17 | |||
18 | |||
19 | #include "stocktickerplugin.h" | ||
20 | #include "stocktickerpluginimpl.h" | ||
21 | |||
22 | StockTickerPluginImpl::StockTickerPluginImpl() { | ||
23 | stocktickerPlugin = new StockTickerPlugin(); | ||
24 | } | ||
25 | |||
26 | StockTickerPluginImpl::~StockTickerPluginImpl() { | ||
27 | } | ||
28 | |||
29 | |||
30 | TodayPluginObject* StockTickerPluginImpl::guiPart() { | ||
31 | return stocktickerPlugin; | ||
32 | } | ||
33 | |||
34 | QRESULT StockTickerPluginImpl::queryInterface( const QUuid & uuid, QUnknownInterface **iface ) { | ||
35 | *iface = 0; | ||
36 | if ( ( uuid == IID_QUnknown ) || ( uuid == IID_TodayPluginInterface ) ) { | ||
37 | *iface = this, (*iface)->addRef(); | ||
38 | } | ||
39 | return QS_OK; | ||
40 | |||
41 | } | ||
42 | |||
43 | Q_EXPORT_INTERFACE() { | ||
44 | Q_CREATE_INSTANCE( StockTickerPluginImpl ); | ||
45 | } | ||