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

📄 ftpexampleappui.h

📁 Symbian智能手机操作系统源代码值的参考_网络ftp
💻 H
字号:
/*
* ============================================================================
*  Name     : CFtpExampleAppUi from FtpExampleAppUi.h
*  Part of  : FtpExample
*  Created  : 03/11/2005 by Forum Nokia
*  Description:
*     Declares UI class for application.
*  Version  : 1.0
*  Copyright: Nokia Corporation
* ============================================================================
*/

#ifndef FTPEXAMPLEAPPUI_H
#define FTPEXAMPLEAPPUI_H

// INCLUDES
#include <eikapp.h>
#include <eikdoc.h>
#include <e32std.h>
#include <coeccntx.h>
#include <aknappui.h>
#include <ftpsess.h>

// FORWARD DECLARATIONS
class CFtpExampleContainer;
class CFtpExampleEngine;

// CLASS DECLARATION

/**
* Application UI class.
* Provides support for the following features:
* - EIKON control architecture
* 
*/
class CFtpExampleAppUi : public CAknAppUi
    {
public: // Constructors and destructor

    /**
    * Symbian OS default constructor.
    */      
    void ConstructL();

    /**
    * Destructor.
    */      
    ~CFtpExampleAppUi();
    
public: // New functions
					
	/**
	* Will show appropriate CBA buttons to user.
	* @param aExecuting Defines whether an FTP command is executing or not.
	*/
	void CommandExecutingL(const TBool& aExecuting);

	/**
	* Returns reference to engine, which handles FTP commands.
	* @return Reference to engine.
	*/
	CFtpExampleEngine& Model();
        
private: // Functions from base classes

    /** 
    * From MEikMenuObserver. May be overridden to handle 
    * displaying menus launched from the side bar.
    */
    void DynInitMenuPaneL(TInt aResourceId,CEikMenuPane* aMenuPane);

    /**
    * From CEikAppUi, takes care of command handling.
    * @param aCommand command to be handled
    */
    void HandleCommandL(TInt aCommand);

    /**
    * From CEikAppUi, handles key events.
    * @param aKeyEvent Event to handled.
    * @param aType Type of the key event. 
    * @return Response code (EKeyWasConsumed, EKeyWasNotConsumed). 
    */
    virtual TKeyResponse HandleKeyEventL(
        const TKeyEvent& aKeyEvent,TEventCode aType);
    
private: // Data members

	CFtpExampleContainer* iContainer;
	CFtpExampleEngine* iEngine;
    };

#endif

// End of File

⌨️ 快捷键说明

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