servermanager1.h
来自「symbian和旗下的HTTPENGINE的相关代码」· C头文件 代码 · 共 60 行
H
60 行
/* Copyright (c) 2007, Nokia. All rights reserved */
#ifndef __SERVERMANAGER_H__
#define __SERVERMANAGER_H__
#include <aknview.h>
#include "Common.h"
#include <ASSISTANTAppUi.h>
class CHTTPEngine;
/*!
@class CServerManager
@discussion An instance of this class is the Application View object
for the FreeSMS example application
*/
class CServerManager : public CBase ,
public MLoginToNotify,
public MHTTPEngineObserver
{
public:
//new info
static CServerManager* NewL();
static CServerManager* NewLC();
~CServerManager();
void MakeRequest();
void ParseRecponseContent(const TDesC& aResponse);
void PackUpdateContent();
void LoginInfoNotify(const TDesC & aNumber, const TDesC & aPassword,TInt aModel);
void SetServerReNotifyPointer(MServerReNotify* aPointer) {m_pServerReNotify = aPointer;}
//from MHTTPEngineObserver
public:
virtual void ResponseStatusL(TInt aStatusCode, const TDesC& aStatusText);
virtual void ResponseReceivedL(const TDesC& aResponseBuffer);
private:
CServerManager();
void ConstructL();
private:
TBuf<13> TempPhone;//值传递使用
TBuf<6> TempPassWord;//值传递使用
TInt m_SendType;
MServerReNotify * m_pServerReNotify;
CHTTPEngine* m_pHTTPEngine;
};
#endif // __FREESMS_SERVERMANAGER_H__
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?