chvapplication.cpp

来自「一个关于symbian下文本编辑器的源码程序」· C++ 代码 · 共 38 行

CPP
38
字号
/*
 * HView [c]2004 Marcin Skoczylas, All rights reserved
 *
 * This file is under GPL license, see gpl.txt file
 *
 */

#include "CHVDocument.h"
#include "CHVApplication.h"
#include "SymDefs.h"
#include "DBG_LOGF.h"

// local constants
static const TUid KUidHVApp = {0x10202B60}; 

CApaDocument* CHVApplication::CreateDocumentL()
{  
	DBG_initLogFile();
	LOGF("HVIEW " __HVIEWVERSION__ "\n");

	LOGF("CHVApp: CreateDocumentL please\n");

	//SYS_Errorf("fatalatest: %s\n", "yep!");

    // Create an HV document, and return a pointer to it
    CApaDocument* document = CHVDocument::NewL(*this);
    return document;
}

TUid CHVApplication::AppDllUid() const
{
    // Return the UID for the HV application
    return KUidHVApp;
}



⌨️ 快捷键说明

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