dialerappui.h

来自「symbian 的打电话程序 可以实现安装sis」· C头文件 代码 · 共 80 行

H
80
字号
/* Copyright (c) 2004, Nokia. All rights reserved */

#ifndef __DIALERAPPUI_H__
#define __DIALERAPPUI_H__

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

// CONSTANTS
_LIT ( KTsyName,"phonetsy.tsy" );
_LIT ( KPhoneNumber,"01" );

// FORWARD DECLARATIONS
class CDialerAppView;

// CLASS DECLARATIONS
/**
* CDialerAppUi
* An instance of class CDialerAppUi is the UserInterface part of the AVKON
* application framework for the Dialer example application
*/
class CDialerAppUi : public CAknAppUi
    {
        public: // Constructors and Destructor.
            /**
            * ConstructL()
            * Perform the second phase construction of a CDialerAppUi object
            * this needs to be public due to the way the framework 
            * constructs the AppUi 
            */
            void ConstructL();

            /**
            * CDialerAppUi()
            * Perform the first phase of two phase construction.
            * This needs to be public due to the way the framework 
            * constructs the AppUi 
            */
            CDialerAppUi();


            /**
            * ~CDialerAppUi()
            * Destroy the object and release all memory objects
            */
            virtual ~CDialerAppUi();

            /**
            * DialNumberL()
            * Dial a number
            * @param aPhoneNumber the number to dial
            */
            void DialNumberL( const TDesC& aPhoneNumber );

        public: // from base classes

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


        private:    // data

            /** 
            * iAppView
            * The application view 
            * Owned by CDialerAppUi
            */
            CDialerAppView* iAppView;
    };


#endif // __DIALERAPPUI_H__

// End of File

⌨️ 快捷键说明

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