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

📄 signedapp.h

📁 《UIQ 3 The Complete Guide》书的源代码
💻 H
字号:
//
// SignedApp.h - Example of an app that can pass Symbian Signed
//
// Copyright (C) UIQ Technology AB, 2007
//
// This material is provided "as is" without any warranty to its performance or functionality. 
// In no event shall UIQ Technology be liable for any damages whatsoever arising out of the
// use or inabilty to use this material. 
//

#ifndef __SIGNEDAPP_H__
#define __SIGNEDAPP_H__

// these pragmas stop the compiler complaining that params to functions not being used in body
#ifdef __CW32__
#pragma warn_unusedarg off
#endif // __CW32__
#pragma warning(disable : 4100)

#include <qikappui.h>
#include <qikdocument.h>
#include <qikapplication.h>
#include "Engine.h"

/////////////////////////////////////////////////////////////////////////////////////////////
class CAppSpecificUi : public CQikAppUi
	{
protected:
	// From CEikAppUi
	void ConstructL();
	void HandleCommandL(TInt aCommand);

	// new methods
	void LoadIniFilePreferencesL(const TInt aVersion,RReadStream& aStream);
	void SaveIniFilePreferencesL(RWriteStream& aStream) const;
	void LoadIniFile();
	void SaveIniFileL(const TInt aVersion);

public:
	// new methods
	~CAppSpecificUi();

	TBool CheckRegistration() const;
	inline void SetIMEI(const TDesC& aImei) {iPhoneImei=aImei;};
protected:
	CAppEngine* iEngine;

	TInt iRegistrationCode;
	TBuf<32> iPhoneImei;
	};

#endif // __SIGNEDAPP_H__

⌨️ 快捷键说明

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