⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 basicdrawingappui.cpp

📁 最新官方例子,图形,描述副,基本控件,通讯协议,等等,
💻 CPP
字号:
/**
 * 
 * @brief Definition of CBasicDrawingAppUi
 *
 * Copyright (c) EMCC Software Ltd 2003
 * @version 1.0
 */

// INCLUDE FILES

// Class includes
#include "BasicDrawingAppUi.h"

// System includes
#include <aknnavi.h>	// CAknNavigationControlContainer
#include <aknnavide.h>	// CAknNavigationDecorator

// User includes
#include "BasicDrawingView.h"	// CBasicDrawingView

// ================= MEMBER FUNCTIONS =======================

/**
 * Symbian OS 2nd phase constructor.  Constructs the application view, 
 * transferring ownership to the AppUi.
 */	
void CBasicDrawingAppUi::ConstructL()
	{
	BaseConstructL();

	// Show tabs for main views from resources
	CEikStatusPane* sp = StatusPane();

	// Fetch pointer to the default navi pane control
	iNaviPane = (CAknNavigationControlContainer*)sp->ControlL(TUid::Uid(EEikStatusPaneUidNavi));

	CBasicDrawingView* basicView = CBasicDrawingView::NewLC();
	AddViewL(basicView);      // transfer ownership to CAknViewAppUi
	CleanupStack::Pop(basicView);    

	SetDefaultViewL(*basicView);
	}

/**
 * Destructor
 */
CBasicDrawingAppUi::~CBasicDrawingAppUi()
	{
	delete iDecoratedTabGroup;
	}

/**
 * From CEikAppUi, takes care of command handling for the BasicDrawing
 * application, which in this case is just exiting the application.
 *
 * @param aCommand command to be handled
 */
void CBasicDrawingAppUi::HandleCommandL(TInt aCommand)
	{
	switch (aCommand)
		{
		case EEikCmdExit:
			{
			Exit();
			break;
			}
		default:
			break;      
		}
	}

// End of File  

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -