camdecodeapp.cpp

来自「Symbian 调用摄像头的简单程序。实现了最基本的功能。」· C++ 代码 · 共 61 行

CPP
61
字号
/*
============================================================================
 Name        : CCamDecodeApp from CamDecodeApp.cpp
 Author      : Augusta
 Version     :
 Copyright   : All Right Reserved
 Description : Main application class
============================================================================
*/

// INCLUDE FILES
#include "CamDecodeApp.h"
#include "CamDecodeDocument.h"

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

// ---------------------------------------------------------
// CCamDecodeApp::AppDllUid()
// Returns application UID
// ---------------------------------------------------------
//
TUid CCamDecodeApp::AppDllUid() const
	{
	return KUidCamDecode;
	}

   
// ---------------------------------------------------------
// CCamDecodeApp::CreateDocumentL()
// Creates CCamDecodeDocument object
// ---------------------------------------------------------
//
CApaDocument* CCamDecodeApp::CreateDocumentL()
	{
	return CCamDecodeDocument::NewL( *this );
	}

// ================= OTHER EXPORTED FUNCTIONS ==============
//
// ---------------------------------------------------------
// NewApplication() 
// Constructs CCamDecodeApp
// Returns: created application object
// ---------------------------------------------------------
//
EXPORT_C CApaApplication* NewApplication()
	{
	return new CCamDecodeApp;
	}

// ---------------------------------------------------------
// E32Dll(TDllReason) 
// Entry point function for EPOC Apps
// Returns: KErrNone: No error
// ---------------------------------------------------------
//
GLDEF_C TInt E32Dll( TDllReason )
	{
	return KErrNone;
	}

⌨️ 快捷键说明

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