initial import
[picodrive.git] / platform / uiq3 / Dialogs.h
diff --git a/platform/uiq3/Dialogs.h b/platform/uiq3/Dialogs.h
new file mode 100644 (file)
index 0000000..7184f94
--- /dev/null
@@ -0,0 +1,94 @@
+/*******************************************************************\r
+ *\r
+ *     File:           Dialogs.h\r
+ *\r
+ *     Author:         Peter van Sebille (peter@yipton.net)\r
+ *\r
+ *  Modified/adapted for picodriveN by notaz, 2006\r
+ *\r
+ *  (c) Copyright 2006, notaz\r
+ *     (c) Copyright 2002, Peter van Sebille\r
+ *     All Rights Reserved\r
+ *\r
+ *******************************************************************/\r
+\r
+#ifndef __DIALOGS_H\r
+#define __DIALOGS_H\r
+\r
+#include <eikenv.h>\r
+#include <eikdialg.h>\r
+#include <eiktxlbx.h>\r
+#include <eiktxlbm.h>\r
+#include <eikdlgtb.h>\r
+#include <eiklabel.h>\r
+#include <eikchlst.h>\r
+#include <eikchkbx.h>\r
+#include <eikedwob.h>\r
+\r
+#include <QikSimpleDialog.h>\r
+\r
+\r
+/************************************************\r
+ *\r
+ * config Dialog\r
+ *\r
+ ************************************************/\r
+\r
+class TPicoConfig;\r
+\r
+class CPicoConfigDialog : public CEikDialog\r
+{\r
+public:\r
+       CPicoConfigDialog(TPicoConfig &cfg);\r
+\r
+protected: // framework\r
+    void PostLayoutDynInitL();\r
+       void HandleControlStateChangeL(TInt aControlId);\r
+       TBool OkToExitL(TInt aButtonId);\r
+\r
+       TPicoConfig &config;\r
+};\r
+\r
+\r
+/************************************************\r
+ *\r
+ * About Dialog\r
+ *\r
+ ************************************************/\r
+\r
+class CAboutDialog : public CQikSimpleDialog\r
+{\r
+protected:     // from CQikSimpleDialog\r
+       void PostLayoutDynInitL();\r
+};\r
+\r
+/*************************************************************\r
+*\r
+* Credits dialog\r
+*\r
+**************************************************************/\r
+\r
+class CCreditsDialog : public CQikSimpleDialog\r
+{\r
+protected:     // from CQikSimpleDialog\r
+       void PreLayoutDynInitL();\r
+       TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType);\r
+};\r
+\r
+/*************************************************************\r
+*\r
+* Debug dialog\r
+*\r
+**************************************************************/\r
+\r
+class CDebugDialog : public CCreditsDialog\r
+{\r
+public:\r
+       CDebugDialog(char *t);\r
+\r
+protected:\r
+       char iText[1024];\r
+       void PreLayoutDynInitL();\r
+};\r
+\r
+#endif // __DIALOGS_H\r