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

📄 smallservapp.cpp

📁 一个Symbian平台上的serverclient模型的简单示例
💻 CPP
字号:
// SmallServApp.cpp
//
// Copyright 05/03/2001 
//

#include "SmallServApp.h"
#include "SmallServDoc.h"


extern const TUid KUidSmallServApp = { 0x100006b5 };


//
// AppDllUid
//
TUid CSmallServApplication::AppDllUid() const 
    {
    return KUidSmallServApp;
    }


//
// CreateDocumentL
//
// Called by the framework to create a new document
CApaDocument* CSmallServApplication::CreateDocumentL() 
    {
    CSmallServDocument* document=new (ELeave) CSmallServDocument(*this);
    return document;
    }


//
// EXPORTed functions
//
// Globals the App architecture/OS use to access this application


//
// NewApplication
//
EXPORT_C CApaApplication* NewApplication() 
    {
    return new CSmallServApplication;
    }


//
// E32Dll
//
GLDEF_C TInt E32Dll(TDllReason) 
    {
    return KErrNone;
    }

⌨️ 快捷键说明

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