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