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

📄 balldocument.cpp

📁 symbian中活动对象的一个例子
💻 CPP
字号:
/* Copyright (c) 2008, Nokia. All rights reserved */

#include "BallAppUi.h"
#include "BallDocument.h"


CBallDocument* CBallDocument::NewL(CEikApplication& aApp)
    {
    CBallDocument* self = NewLC(aApp);
    CleanupStack::Pop(self);
    return self;
    }

CBallDocument* CBallDocument::NewLC(CEikApplication& aApp)
    {
    CBallDocument* self = new (ELeave) CBallDocument(aApp);
    CleanupStack::PushL(self);
    self->ConstructL();
    return self;
    }

void CBallDocument::ConstructL()
    {
    // Add any construction that can leave here
    }    

CBallDocument::CBallDocument(CEikApplication& aApp) : CAknDocument(aApp) 
    {
    // Add any construction that can not leave here
    }   

CBallDocument::~CBallDocument()
    {
    // Any destruction code here
    }

CEikAppUi* CBallDocument::CreateAppUiL()
    {
    // Create the application user interface, and return a pointer to it;
    // the framework takes ownership of this object
    return (static_cast<CEikAppUi*>(new (ELeave) CBallAppUi));
    }

⌨️ 快捷键说明

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