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

📄 logexampleview2.h

📁 Log Engine的使用
💻 H
字号:
/*
* ============================================================================
*  Name     : CLogExampleView2 from LogExampleView2.h
*  Part of  : LogExample
*  Created  : 26.05.2005 by Forum Nokia 
*  Description:
*     Declares view for application.
*  Version  : 1.0
*  Copyright: Nokia Corporation 
* ============================================================================
*/

#ifndef __LOGEXAMPLEVIEW2_H__
#define __LOGEXAMPLEVIEW2_H__

// INCLUDE FILES
#include <aknview.h>


// CONSTANTS
// UID of view
const TUid KView2Id = {2};
 
// FORWARD DECLARATIONS
class CLogExampleContainer2;
class MEventsObserver;

// CLASS DECLARATION

/**
*  CLogExampleView2 view class.
* 
*/
class CLogExampleView2 : public CAknView
    {
public: // Constructors and destructor

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

    /**
    * Destructor.
    */
    ~CLogExampleView2();
       
public: // New functions
		
	/**
	* Returns observer
	* @return observer
	*/
	MEventsObserver* GetObserver();
	
	/**
	* Empties the list of events
	*/
	void ResetEventList();
		
public: // Functions from base classes
                        
	/**
    * From CAknView returns Uid of View
    * @return TUid uid of the view
    */
    TUid Id() const;

    /**
    * From MEikMenuObserver delegate commands from the menu
    * @param aCommand a command emitted by the menu 
    * @return void
    */
  
    void HandleCommandL(TInt aCommand);
    /**
    * From CAknView reaction if size change
    * @return void
    */
    void HandleClientRectChange();
        
    /**
    * From MEikMenuObserver 
    * @return void
    */
    void DynInitMenuPaneL(TInt aResourceId, CEikMenuPane* aMenuPane);

private:

    /**
    * From CAknView activate the view
    * @param aPrevViewId 
    * @param aCustomMessageId 
    * @param aCustomMessage 
    * @return void
    */
    void DoActivateL(const TVwsViewId& aPrevViewId,TUid aCustomMessageId,
            const TDesC8& aCustomMessage);

    /**
    * From CAknView deactivate the view (free resources)
    * @return void
    */
    void DoDeactivate();
 
private: // Data members

    CLogExampleContainer2* iContainer;
    };

#endif

// End of File

⌨️ 快捷键说明

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