?? testgnhttpdownappui.h
字號:
/*
============================================================================
Name : TestGnHttpDownAppUi.h
Author :
Copyright : Your copyright notice
Description : Declares UI class for application.
============================================================================
*/
#ifndef __TESTGNHTTPDOWNAPPUI_h__
#define __TESTGNHTTPDOWNAPPUI_h__
// INCLUDES
#include <aknappui.h>
#include <f32file.h>
#include <GnHttpDown.h>
// FORWARD DECLARATIONS
class CTestGnHttpDownAppView;
// CLASS DECLARATION
/**
* CTestGnHttpDownAppUi application UI class.
* Interacts with the user through the UI and request message processing
* from the handler class
*/
class CTestGnHttpDownAppUi : public CAknAppUi, public MGnHTTPTransactionCallback
{
public:
// Constructors and destructor
/**
* ConstructL.
* 2nd phase constructor.
*/
void ConstructL();
/**
* CTestGnHttpDownAppUi.
* C++ default constructor. This needs to be public due to
* the way the framework constructs the AppUi
*/
CTestGnHttpDownAppUi();
/**
* ~CTestGnHttpDownAppUi.
* Virtual Destructor.
*/
virtual ~CTestGnHttpDownAppUi();
virtual TBool ShouldUpdateTheResumeRecL(const TDesC8 & aData, CGnHttpDown * aGnHttpDown);
virtual void MHFRunL(RHTTPTransaction aTransaction, const THTTPEvent& aEvent, const TDesC8 & aDataBlock, CGnHttpDown * aGnHttpDown);
virtual TInt MHFRunError(TInt aError, RHTTPTransaction aTransaction, const THTTPEvent& aEvent, CGnHttpDown * aGnHttpDown);//{return KErrNone;}
private:
// Functions from base classes
/**
* From CEikAppUi, HandleCommandL.
* Takes care of command handling.
* @param aCommand Command to be handled.
*/
void HandleCommandL(TInt aCommand);
/**
* HandleStatusPaneSizeChange.
* Called by the framework when the application status pane
* size is changed.
*/
void HandleStatusPaneSizeChange();
/**
* From CCoeAppUi, HelpContextL.
* Provides help context for the application.
* size is changed.
*/
CArrayFix<TCoeHelpContext>* HelpContextL() const;
private:
// Data
/**
* The application view
* Owned by CTestGnHttpDownAppUi
*/
CTestGnHttpDownAppView* iAppView;
//TBuf<255> iUri;
RFile iRFile;
RFs iRFs;
TUint32 iDownSizePreTime;
TUint32 iPosition;
CGnHttpDown * iHttpDown;
};
#endif // __TESTGNHTTPDOWNAPPUI_h__
// End of File
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -