/******************************************************************* * * File: Dialogs.h * * Author: Peter van Sebille (peter@yipton.net) * * Modified/adapted for picodriveN by notaz, 2006 * * (c) Copyright 2006, notaz * (c) Copyright 2002, Peter van Sebille * All Rights Reserved * *******************************************************************/ #ifndef __DIALOGS_H #define __DIALOGS_H #include #include #include #include #include #include #include #include #include #include /************************************************ * * config Dialog * ************************************************/ extern "C" struct _currentConfig_t; class CPicoConfigDialog : public CEikDialog { public: CPicoConfigDialog(_currentConfig_t &cfg); protected: // framework void PostLayoutDynInitL(); void HandleControlStateChangeL(TInt aControlId); TBool OkToExitL(TInt aButtonId); _currentConfig_t &config; }; /************************************************ * * About Dialog * ************************************************/ class CAboutDialog : public CQikSimpleDialog { protected: // from CQikSimpleDialog void PostLayoutDynInitL(); }; /************************************************************* * * Credits dialog * **************************************************************/ class CCreditsDialog : public CQikSimpleDialog { protected: // from CQikSimpleDialog void PreLayoutDynInitL(); TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType); }; /************************************************************* * * Debug dialog * **************************************************************/ class CDebugDialog : public CCreditsDialog { public: CDebugDialog(char *t); protected: char iText[1024]; void PreLayoutDynInitL(); }; #endif // __DIALOGS_H