📄 s60uicodeex.h
字号:
/*
* ==============================================================================
* Name : S60UICodeEx.h
* Part of : S60UICodeEx
* Interface :
* Description :
* Version :
*
* Copyright (c) 2005-2006 Nokia Corporation.
* This material, including documentation and any related
* computer programs, is protected by copyright controlled by
* Nokia Corporation.
* ==============================================================================
*/
#ifndef S60UICODEEX_H
#define S60UICODEEX_H
// INCLUDES
#include <e32svr.h>
#include <coeccntx.h>
#include <eikenv.h>
#include <aknappui.h>
#include <aknapp.h>
#include <akndoc.h>
#include <eikmenup.h>
#include <aknviewappui.h>
#include <eikon.hrh>
#include <S60UICodeEx.rsg>
#include "S60UICodeExView.h"
// CLASS DECLARATION
/**
* CS60UICodeExApplication application class.
*
*/
class CS60UICodeExApplication : public CAknApplication
{
private: // Methods from base class.
CApaDocument* CreateDocumentL();
TUid AppDllUid() const;
};
// CLASS DECLARATION
/**
* CS60UICodeExAppUi application UI class.
*
*/
class CS60UICodeExAppUi : public CAknViewAppUi
{
public:// Constructors and destructor
/**
* ConstructL.
* 2nd phase constructor.
*/
void ConstructL();
/**
* Destructor.
*
*/
~CS60UICodeExAppUi();
public:// Methods from base classes
void DynInitMenuPaneL( TInt aResourceId, CEikMenuPane* aMenuPane );
void HandleStatusPaneSizeChange();
void HandleForegroundEventL( TBool aForeground );
void HandleScreenDeviceChangedL();
private: // Functions from base classes
void HandleCommandL( TInt aCommand );
private: // New methods
/**
* Returns ETrue if current screen mode is portrait
* @return ETrue if mode is portrait, EFalse otherwise.
*/
TBool ScreenState();
private: // Data
// Pointer to CS60UICodeExView object
CS60UICodeExView* iMainView;
// Status pane state enumeration
enum TStatusPaneState
{
EStatusPaneStateNormal = 1,
EStatusPaneStateSmall,
EStatusPaneStateNone
};
TStatusPaneState iStatusPaneState;
// True means portrait, false means landscape
TBool iForcedRotateState;
public:
// User input storage buffer
TBuf<100> mybuf;
};
// CLASS DECLARATION
/**
* CS60UICodeExDocument application's document class.
*
*/
class CS60UICodeExDocument : public CAknDocument
{
public:// Constructors and destructor
/**
* Constructor
*/
CS60UICodeExDocument( CEikApplication& aApp );
private: // Methods from base class
CEikAppUi* CreateAppUiL();
};
#endif // S60UICODEEX_H
// End of file.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -