www.pudn.com > BluetoothChat.rar > BluetoothChatApplication.h


/* 
============================================================================ 
 Name        : BluetoothChatApplication.h 
 Author      : Lion 
 Copyright   : Your copyright notice 
 Description : Declares main application class. 
============================================================================ 
*/ 
 
#ifndef __BLUETOOTHCHATAPPLICATION_H__ 
#define __BLUETOOTHCHATAPPLICATION_H__ 
 
// INCLUDES 
#include  
const TUid KUidBluetoothChatApp = { 0x04D4C971 }; 
// CLASS DECLARATION 
 
/** 
* CBluetoothChatApplication application class. 
* Provides factory to create concrete document object. 
* An instance of CBluetoothChatApplication is the application part of the 
* AVKON application framework for the BluetoothChat example application. 
*/ 
class CBluetoothChatApplication : public CAknApplication 
    { 
    public: // Functions from base classes 
 
        /** 
        * From CApaApplication, AppDllUid. 
        * @return Application's UID (KUidBluetoothChatApp). 
        */ 
        TUid AppDllUid() const; 
 
    protected: // Functions from base classes 
 
        /** 
        * From CApaApplication, CreateDocumentL. 
        * Creates CBluetoothChatDocument document object. The returned 
        * pointer in not owned by the CBluetoothChatApplication object. 
        * @return A pointer to the created document object. 
        */ 
        CApaDocument* CreateDocumentL(); 
    }; 
 
#endif // __BLUETOOTHCHATAPPLICATION_H__ 
 
// End of File