mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@569 be3aeb3a-fb24-0410-a615-afba39da0efa
94 lines
2 KiB
C++
94 lines
2 KiB
C++
/*******************************************************************
|
|
*
|
|
* 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 <eikenv.h>
|
|
#include <eikdialg.h>
|
|
#include <eiktxlbx.h>
|
|
#include <eiktxlbm.h>
|
|
#include <eikdlgtb.h>
|
|
#include <eiklabel.h>
|
|
#include <eikchlst.h>
|
|
#include <eikchkbx.h>
|
|
#include <eikedwob.h>
|
|
|
|
#include <qiksimpledialog.h>
|
|
|
|
|
|
/************************************************
|
|
*
|
|
* 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
|