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

📄 gdpmain.cpp

📁 Symbian C++ scmp.zip
💻 CPP
字号:
// gdpmain.cpp
//
// Copyright (c) 2000 Symbian Ltd.  All rights reserved.
//


#include "gdpmain.h"
#include "gdp.h"
#include <e32std.h>
#include <ecom.h>

EXPORT_C void GdpUtil::Panic(TGdpPanic aPanic)
//
// Panic the Protocol due to an internal bug
//
	{
	_LIT(KPanicCategory,"GDP Panic");
	User::Panic(KPanicCategory, aPanic);
	}

EXPORT_C void GdpUtil::Fault(TGdpFault aPanic)
//
// Panic the Protocol due to a user bug
//
	{
	_LIT(KPanicCategory,"GDP Fault");
	User::Panic(KPanicCategory, aPanic);
	}

// Protocol instantiation function

EXPORT_C CGdpSession* CGdpSession::NewL(TUid aUid)
	/**
	   Creates an implementation using ECOM.
	*/
	{
	return static_cast<CGdpSession*>(REComSession::CreateImplementationL(aUid, _FOFF(CGdpSession, iDtor_ID_Key)));
	}

// Main DLL entry point


TInt E32Dll(TDllReason)
	{
	return 0;
	}

⌨️ 快捷键说明

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