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

📄 nettestappui.h

📁 Symbian第二版断点续传代码,可以节省用户下载流量
💻 H
字号:
/*
============================================================================
 Name        : CNetTestAppUi from NetTestAppui.h
 Author      : 
 Version     :
 Copyright   : Your copyright notice
 Description : Declares UI class for application.
============================================================================
*/

#ifndef NETTESTAPPUI_H
#define NETTESTAPPUI_H

// INCLUDES
#include <aknappui.h>
#include "m5httpdownnotifier.h"

#define PRINT_BUF_LEN  1024*4

class CNetTestContainer ;
class CM5HttpDown ; 

class CNetTestAppUi : public CAknAppUi, public M5HttpDownNotifier
{
    public: // // Constructors and destructor
        void ConstructL();
        ~CNetTestAppUi();
        
    private:
        // From MEikMenuObserver
        void DynInitMenuPaneL(TInt aResourceId,CEikMenuPane* aMenuPane);
	public: 
		// M5HttpDownNotifier
		void M5PrintNotify(const TDesC & aMessage) ; 
		void M5RecvNotify(const TDesC8 & recv_buf) ; 
		void M5TimerExpireNotify() ;
		void M5ErrorNotify(const TDesC& aErrMessage, TInt aErrCode = 0) ; 
    private:
        void HandleCommandL(TInt aCommand);
        virtual TKeyResponse HandleKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType);

    private: //Data
        CNetTestContainer* iAppContainer; 
		CM5HttpDown*	    iHttpDown ; 
		TBuf<PRINT_BUF_LEN> iPrintBuf ; 
		TBuf<2048>			iRecvBuf ; 	
		TBool				iFirstIn ; 
		RFs				    iFs ; 
		RFile				iFile ; 
		TInt				iRecvSize ; 
};

#endif


⌨️ 快捷键说明

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