📄 common.h
字号:
#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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -