common.h

来自「symbian 3nd 实现短信息收发」· C头文件 代码 · 共 54 行

H
54
字号
#ifndef __COMMON_H__
#define __COMMON_H__
//class CBookInfo;
//class BookEngine;
class Http;
//class CNote;

//Free Memory
//#define		MEMORY_FREE(a)	if(a){delete a; a=NULL;}

enum	{ ERegister = 1, ELogin, EUpdate, EDownload};
enum	{ EMaxUrlLength = 128, EMaxNameLength = 3200};

class MLoginToNotify
{
public:
	virtual void LoginInfoNotify(const TDesC & aNumber, const TDesC & aPassword,TInt aModel) = 0;
};

class MServerReNotify
{
public:
	virtual void ServerReNotify(const TDesC & aStatusCode, TInt aModel) = 0;
};

class MHTTPEngineObserver
{
public:
	virtual void ResponseStatusL(TInt aStatusCode, const TDesC& aStatusText) = 0;

	virtual void ResponseReceivedL(const TDesC& aResponseBuffer) = 0;
};
/*
class MServerUpNotify    //Server to Main
{
public:
	virtual void ServerUpNotify(const RPointerArray<CBookInfo>& aBookArray) = 0;
};

//将值从Main函数传递到Server中
class MMainReNotify      //Main to Server
{
public:
	virtual void MainReNotify(const RPointerArray<CBookInfo>& aBookArray) = 0;
};

class MNotify
{
public:
	virtual  void  Notify(TInt  aIndex) = 0;
};
*/
#endif //__COMMON_H__

⌨️ 快捷键说明

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