summaryrefslogtreecommitdiff
path: root/noncore/applets/keyhelper/keyhelperapplet/anylnk/LnkWrapper.h
Unidiff
Diffstat (limited to 'noncore/applets/keyhelper/keyhelperapplet/anylnk/LnkWrapper.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/applets/keyhelper/keyhelperapplet/anylnk/LnkWrapper.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/noncore/applets/keyhelper/keyhelperapplet/anylnk/LnkWrapper.h b/noncore/applets/keyhelper/keyhelperapplet/anylnk/LnkWrapper.h
new file mode 100644
index 0000000..6b9536b
--- a/dev/null
+++ b/noncore/applets/keyhelper/keyhelperapplet/anylnk/LnkWrapper.h
@@ -0,0 +1,33 @@
1#ifndef _LNK_WRAPPER_H_
2#define _LNK_WRAPPER_H_
3
4#include <qstring.h>
5#include <qstringlist.h>
6
7#include <qpe/applnk.h>
8
9#include "AppLnkWrapper.h"
10#include "DocLnkWrapper.h"
11#include "ExecLnk.h"
12#include "QCopLnk.h"
13#include "TextLnk.h"
14#include "MenuLnk.h"
15
16class LnkWrapper
17{
18public:
19 LnkWrapper(const QStringList& params);
20 virtual ~LnkWrapper();
21
22 bool isValid(){
23 return(m_pLnk && m_pLnk->isValid());
24 }
25 AnyLnk& instance(){
26 return(*m_pLnk);
27 }
28private:
29 AnyLnk* m_pLnk;
30};
31
32#endif /* _LNK_WRAPPER_H_ */
33