Dialogs.h 2.0 KB

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