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

📄 finditemtestappappui.h

📁 这个代码实现了从一段字符提取手机号码、email、url等信息的功能。这个是symbian下实现的。
💻 H
字号:
/*
* ============================================================================
*  Name        : CFindItemTestAppAppUi from FindItemTestAppAppUi.h
*  Part of     : FindItemTestApp
*  Interface   : 
*  Description : Declares UI class for application.
*  Version     : 
*
*  Copyright (c) 2002-2006 Nokia Corporation.
*  This material, including documentation and any related 
*  computer programs, is protected by copyright controlled by 
*  Nokia Corporation.
* ============================================================================
*/

#ifndef FINDITEMTESTAPPAPPUI_H
#define FINDITEMTESTAPPAPPUI_H

// INCLUDES
#include <aknappui.h>
#include <finditemengine.h>

// FORWARD DECLARATIONS
class CFindItemTestAppContainer;


// CONSTANTS
// None

// CLASS DECLARATION

/**
* Application UI class.
* Provides support for the following features:
* - EIKON control architecture
*
*  @lib FindItemTestApp.exe
*  @since Series S60 3.0
*/
class CFindItemTestAppAppUi : public CAknAppUi
    {
    public: // Constructors and destructor

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

        /**
        * Destructor.
        */      
        ~CFindItemTestAppAppUi();
        
    public: // New functions

    public: // Functions from base classes

    private:
        
		// From MEikMenuObserver
        void DynInitMenuPaneL(TInt aResourceId,CEikMenuPane* aMenuPane);

    private:
		/**
        * 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);
        
		void SearchAllItemsL();
		void SearchItemL(CFindItemEngine::TFindItemSearchCase aTestCase);
        
    private: //Data
		CFindItemTestAppContainer* iAppContainer; 
		TBufC<256> iStrSomeText;
		TBool iUsageStarted;
	};

#endif  // FINDITEMTESTAPPAPPUI_H

// End of File

⌨️ 快捷键说明

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