cleanup.h
来自「《SymbianOSC手机应用开发》源码」· C头文件 代码 · 共 98 行
H
98 行
// cleanup.h
//
// Copyright (c) 2004 Symbian Software Ltd. All rights reserved.
//
#ifndef __CLEANUP_H
#define __CLEANUP_H
#include <coecntrl.h>
#include <coeccntx.h>
#include <coemain.h>
#include <eikappui.h>
#include <eikapp.h>
#include <eikdoc.h>
#include <eikon.hrh>
#include <cleanup.rsg>
#include "cleanup.hrh"
const TUid KUidExample = { 0x101f74ac };
// cleanup demo classes
class CX : public CBase
{
public:
void UseL();
public:
TInt iInt;
};
class CY : public CBase
{
public:
CY();
~CY();
public:
CX* iX;
};
class CZ : public CBase
{
public:
static CZ* NewL();
static CZ* NewLC();
void ConstructL();
~CZ();
public:
CX* iX;
};
// standard EIKON application classes
class CExampleDocument; // forward declaration
class CExampleAppView : public CCoeControl, public MCoeControlBrushContext
{
public:
~CExampleAppView();
void ConstructL(const TRect& aRect);
private: // from CCoeControl
void Draw(const TRect&) const;
};
class CExampleAppUi : public CEikAppUi
{
public:
void ConstructL();
~CExampleAppUi();
private: // from CEikAppUi
void HandleCommandL(TInt aCommand);
private:
CExampleAppView* iAppView;
// cleanup members
CX* iObject1;
CX* iObject2;
CZ* iObject6;
};
class CExampleDocument : public CEikDocument
{
public:
// construct/destruct
CExampleDocument(CEikApplication& aApp);
private: // from CEikDocument
CEikAppUi* CreateAppUiL();
};
class CExampleApplication : public CEikApplication
{
private: // from CApaApplication
CApaDocument* CreateDocumentL();
TUid AppDllUid() const;
};
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?