summaryrefslogtreecommitdiff
path: root/symbian/PerlApp.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2005-10-31 20:38:42 +0200
committerH.Merijn Brand <h.m.brand@xs4all.nl>2005-10-31 16:25:23 +0000
commit25ca88e0cbd385e70d7ea2ee4f8a34a9ff7bcc17 (patch)
tree81bd98f725c8e6e8c9d7760fe938f669619fbc56 /symbian/PerlApp.h
parentf6ba99206280472c9e353abb350d114de9d2591b (diff)
downloadperl-25ca88e0cbd385e70d7ea2ee4f8a34a9ff7bcc17.tar.gz
Symbian port 0.3.0 as of blead@25911
Message-ID: <B356D8F434D20B40A8CEDAEC305A1F24E7A6D6@esebe105.NOE.Nokia.com> p4raw-id: //depot/perl@25933
Diffstat (limited to 'symbian/PerlApp.h')
-rw-r--r--symbian/PerlApp.h23
1 files changed, 19 insertions, 4 deletions
diff --git a/symbian/PerlApp.h b/symbian/PerlApp.h
index 8782fa0db5..12131a4585 100644
--- a/symbian/PerlApp.h
+++ b/symbian/PerlApp.h
@@ -20,6 +20,13 @@
# include <eikdialg.h>
#endif /* #ifdef __SERIES60__ */
+#ifdef __UIQ__
+# include <qikapplication.h>
+# include <qikappui.h>
+# include <qikdocument.h>
+# include <eikdialg.h>
+#endif /* #ifdef __UIQ____ */
+
#include <coecntrl.h>
#include <f32file.h>
@@ -67,6 +74,14 @@
# define CMyAppView CEikBorderedControl
#endif /* #ifdef __SERIES60__ */
+#ifdef __UIQ__
+# define CMyDocument CEikDocument
+# define CMyApplication CQikApplication
+# define CMyAppUi CQikAppUi
+# define CMyNoteDialog CCknFlashingDialog
+# define CMyAppView CCoeControl
+#endif /* #ifdef __UIQ__ */
+
class CPerlAppDocument : public CMyDocument
{
public:
@@ -115,14 +130,14 @@ class CPerlAppView : public CMyAppView
static CPerlAppView* NewLC(const TRect& aRect);
~CPerlAppView();
void Draw(const TRect& aRect) const;
-#ifdef __SERIES80__
+#if defined(__SERIES80__) || defined(__UIQ__)
void HandleCommandL(TInt aCommand);
-#endif /* #ifdef __SERIES80__ */
+#endif /* #if defined(__SERIES80__) || defined(__UIQ__) */
private:
void ConstructL(const TRect& aRect);
};
-#ifdef __SERIES80__
+#if defined(__SERIES80__) || defined(__UIQ__)
class CPerlAppTextQueryDialog : public CEikDialog
{
@@ -139,6 +154,6 @@ class CPerlAppTextQueryDialog : public CEikDialog
TBool OkToExitL(TInt aKeycode);
};
-#endif /* #ifdef __SERIES80__ */
+#endif /* #if defined(__SERIES80__) || defined(__UIQ__) */
#endif // __PerlApp_h__