aboutsummaryrefslogtreecommitdiff
path: root/lib/base/smartptr.h
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2005-02-25 01:46:44 +0000
committerFelix Domke <tmbinc@elitedvb.net>2005-02-25 01:46:44 +0000
commit1cdf6cb021fcaa6548b90ba7b6765cf1e8b8b37b (patch)
tree5bd4dbac6538cf499f641849d26193958b48a187 /lib/base/smartptr.h
parente677ac4a7bf81391877c909a703e5918ce4a511b (diff)
downloadenigma2-1cdf6cb021fcaa6548b90ba7b6765cf1e8b8b37b.tar.gz
enigma2-1cdf6cb021fcaa6548b90ba7b6765cf1e8b8b37b.zip
- work on actions
- changed time when screens are acutally constructed - added service name (not working atm) and event info (now&next)
Diffstat (limited to 'lib/base/smartptr.h')
-rw-r--r--lib/base/smartptr.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/base/smartptr.h b/lib/base/smartptr.h
index 906bba69..159eeb2c 100644
--- a/lib/base/smartptr.h
+++ b/lib/base/smartptr.h
@@ -4,6 +4,14 @@
#include "object.h"
#include <stdio.h>
+#ifdef SWIG
+#define TEMPLATE_TYPEDEF(x, y) \
+%template(y) x; \
+typedef x y
+#else
+#define TEMPLATE_TYPEDEF(x, y) typedef x y
+#endif
+
template<class T>
class ePtr
{