⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 orcoperhttp.h

📁 同样自己做的 还不错哦 Symbian的 上面没找到分类
💻 H
字号:
/* Copyright (c) 2007, Nokia. All rights reserved */

#ifndef __ORCOPERHTTP_H__
#define __ORCOPERHTTP_H__

#include "common.h"
#include "HTTPEngine.h"
#include "timeouttimer.h"

/*! 
  @class CORCOperHttp
  
  @discussion An instance of this class is the Application View object
  for the FreeSMS example application
  */

class CORCOperHttp: public CBase, public MViewToHttpNotify , public MHTTPEngineObserver	,
					public MBookToHttpNotify, public MTimeOutNotifier		 
{
public:
//new info
    static CORCOperHttp* NewL();
    static CORCOperHttp* NewLC();
	void   SendUrl(const TDesC& aType, const TDesC& aName,const TDesC& aPsw);
	TInt   GetResponse();
	void   ParseResponse(const TDesC& aResponse);
	void   SetOperBookPointer(MHTTPToBook* aOperBook){m_pOperBook = aOperBook;}
	void   SetFunViewPointer(MHttpToFunViewNotify* aFunView){m_pFunView = aFunView;}
	void   SetLoginViewPointer(MHttpToLoginViewNotify* aLoginView){m_pLoginView = aLoginView;}
	void   ResponseStatusL(TInt aStatusCode, const TDesC& aStatusText);
	void   ResponseReceivedL(const TDesC& aResponseBuffer);
	void   DoSentBodyPost(const TDesC& aBody);
    ~CORCOperHttp();
//from timer
	virtual void TimerExpired();
// from CCoeControl
private:
	CORCOperHttp();
	void	ConstructL();
private:
	TInt		 m_iType;
	HBufC*		 m_psRturnText;
	TBuf<10> sType;
	TBuf<10>  sResult;
	CHTTPEngine* m_pHttpEngine;
	MHTTPToBook* m_pOperBook;
	MHttpToFunViewNotify*   m_pFunView;
	MHttpToLoginViewNotify* m_pLoginView;
	CTimeOutTimer * m_pTime;

};


#endif // __FREESMS_HELPView_H__

⌨️ 快捷键说明

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