signedapp.h
来自「《UIQ 3 The Complete Guide》书的源代码」· C头文件 代码 · 共 54 行
H
54 行
//
// 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 iDisplayedPrivacyStatement;
TInt iRegistrationCode;
TBuf<32> iPhoneImei;
};
#endif // __SIGNEDAPP_H__
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?