www.pudn.com > sockets.rar > socketsapplication.h


/* Copyright (c) 2004, Nokia. All rights reserved */ 
 
#ifndef __SOCKETS_APPLICATION_H__ 
#define __SOCKETS_APPLICATION_H__ 
 
// INCLUDES 
#include  
 
// CONSTANTS 
static const TUid KUidSocketsApp = { 0x10005B78 }; 
 
// CLASS DECLARATION 
/** 
* CSocketsApplication 
*  An instance of CSocketsApplication is the application part of the AVKON 
*  application framework for the Sockets example application. 
*/ 
class CSocketsApplication : public CAknApplication 
    { 
    private: // Functions from base classes 
 
        /** 
        * From CAknApplication, CreateDocumentL. 
        * Creates a CApaDocument object and return a pointer to it. 
        * @return A pointer to the created document. 
        */ 
        CApaDocument* CreateDocumentL(); 
 
        /** 
        * From CAknApplication, AppDllUid. 
        * Returns the application DLL UID value. 
        * @return The UID of this Application/Dll. 
        */ 
 
        TUid AppDllUid() const; 
    }; 
 
#endif // __SOCKETS_APPLICATION_H__ 
 
// End of File