| 1 | /*******************************************************************\r |
| 2 | *\r |
| 3 | * File: Dialogs.h\r |
| 4 | *\r |
| 5 | * Author: Peter van Sebille (peter@yipton.net)\r |
| 6 | *\r |
| 7 | * Modified/adapted for picodriveN by notaz, 2006\r |
| 8 | *\r |
| 9 | * (c) Copyright 2006, notaz\r |
| 10 | * (c) Copyright 2002, Peter van Sebille\r |
| 11 | * All Rights Reserved\r |
| 12 | *\r |
| 13 | *******************************************************************/\r |
| 14 | \r |
| 15 | #ifndef __DIALOGS_H\r |
| 16 | #define __DIALOGS_H\r |
| 17 | \r |
| 18 | #include <eikenv.h>\r |
| 19 | #include <eikdialg.h>\r |
| 20 | #include <eiktxlbx.h>\r |
| 21 | #include <eiktxlbm.h>\r |
| 22 | #include <eikdlgtb.h>\r |
| 23 | #include <eiklabel.h>\r |
| 24 | #include <eikchlst.h>\r |
| 25 | #include <eikchkbx.h>\r |
| 26 | #include <eikedwob.h>\r |
| 27 | \r |
| 28 | #include <QikSimpleDialog.h>\r |
| 29 | \r |
| 30 | \r |
| 31 | /************************************************\r |
| 32 | *\r |
| 33 | * config Dialog\r |
| 34 | *\r |
| 35 | ************************************************/\r |
| 36 | \r |
| 37 | class TPicoConfig;\r |
| 38 | \r |
| 39 | class CPicoConfigDialog : public CEikDialog\r |
| 40 | {\r |
| 41 | public:\r |
| 42 | CPicoConfigDialog(TPicoConfig &cfg);\r |
| 43 | \r |
| 44 | protected: // framework\r |
| 45 | void PostLayoutDynInitL();\r |
| 46 | void HandleControlStateChangeL(TInt aControlId);\r |
| 47 | TBool OkToExitL(TInt aButtonId);\r |
| 48 | \r |
| 49 | TPicoConfig &config;\r |
| 50 | };\r |
| 51 | \r |
| 52 | \r |
| 53 | /************************************************\r |
| 54 | *\r |
| 55 | * About Dialog\r |
| 56 | *\r |
| 57 | ************************************************/\r |
| 58 | \r |
| 59 | class CAboutDialog : public CQikSimpleDialog\r |
| 60 | {\r |
| 61 | protected: // from CQikSimpleDialog\r |
| 62 | void PostLayoutDynInitL();\r |
| 63 | };\r |
| 64 | \r |
| 65 | /*************************************************************\r |
| 66 | *\r |
| 67 | * Credits dialog\r |
| 68 | *\r |
| 69 | **************************************************************/\r |
| 70 | \r |
| 71 | class CCreditsDialog : public CQikSimpleDialog\r |
| 72 | {\r |
| 73 | protected: // from CQikSimpleDialog\r |
| 74 | void PreLayoutDynInitL();\r |
| 75 | TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType);\r |
| 76 | };\r |
| 77 | \r |
| 78 | /*************************************************************\r |
| 79 | *\r |
| 80 | * Debug dialog\r |
| 81 | *\r |
| 82 | **************************************************************/\r |
| 83 | \r |
| 84 | class CDebugDialog : public CCreditsDialog\r |
| 85 | {\r |
| 86 | public:\r |
| 87 | CDebugDialog(char *t);\r |
| 88 | \r |
| 89 | protected:\r |
| 90 | char iText[1024];\r |
| 91 | void PreLayoutDynInitL();\r |
| 92 | };\r |
| 93 | \r |
| 94 | #endif // __DIALOGS_H\r |