settingexampleapplication.cpp

来自「基于 symbian OS的屏幕设置经典程序,很不错,欢迎下载学习」· C++ 代码 · 共 33 行

CPP
33
字号
/*
 * ============================================================================
 *  Name     : CSettingExampleApplication from SettingExampleApplication.cpp
 *  Part of  : SettingExample
 *  Created  : 29/05/2006 by Forum Nokia
 *  Version  : 2.0
 *  Copyright: Forum Nokia
 * ============================================================================
 */
 
#include "SettingExampleDocument.h"
#include "SettingExampleApplication.h"

// local constants
#ifdef __SERIES60_3X__
static const TUid KUidSettingExampleApp = {0xE0005b95}; 
#else
static const TUid KUidSettingExampleApp = {0x10005b95}; 
#endif

CApaDocument* CSettingExampleApplication::CreateDocumentL()
    {  
    // Create an SettingExample document, and return a pointer to it
    CApaDocument* document = CSettingExampleDocument::NewL(*this);
    return document;
    }

TUid CSettingExampleApplication::AppDllUid() const
    {
    // Return the UID for the SettingExample application
    return KUidSettingExampleApp;
    }

⌨️ 快捷键说明

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