www.pudn.com > SystemSounds_Example_v1_0.zip > SystemSoundsApp.cpp


/* 
* ============================================================================ 
*  Name     : CSystemSoundsApp from SystemSoundsApp.cpp 
*  Part of  : SystemSounds 
*  Created  : 06/12/2003 by Forum Nokia 
*  Implementation notes: 
* 
*     Initial content was generated by Nokia Series 60 AppWizard. 
*  Version  : 
*  Copyright: Nokia 
* ============================================================================ 
*/ 
 
// INCLUDE FILES 
#include    "SystemSoundsApp.h" 
#include    "SystemSoundsDocument.h" 
 
// ================= MEMBER FUNCTIONS ======================= 
 
// --------------------------------------------------------- 
// CSystemSoundsApp::AppDllUid() 
// Returns application UID 
// --------------------------------------------------------- 
// 
TUid CSystemSoundsApp::AppDllUid() const 
    { 
    return KUidSystemSounds; 
    } 
 
    
// --------------------------------------------------------- 
// CSystemSoundsApp::CreateDocumentL() 
// Creates CSystemSoundsDocument object 
// --------------------------------------------------------- 
// 
CApaDocument* CSystemSoundsApp::CreateDocumentL() 
    { 
    return CSystemSoundsDocument::NewL( *this ); 
    } 
 
// ================= OTHER EXPORTED FUNCTIONS ============== 
// 
// --------------------------------------------------------- 
// NewApplication()  
// Constructs CSystemSoundsApp 
// Returns: created application object 
// --------------------------------------------------------- 
// 
EXPORT_C CApaApplication* NewApplication() 
    { 
    return new CSystemSoundsApp; 
    } 
 
// --------------------------------------------------------- 
// E32Dll(TDllReason)  
// Entry point function for EPOC Apps 
// Returns: KErrNone: No error 
// --------------------------------------------------------- 
// 
GLDEF_C TInt E32Dll( TDllReason ) 
    { 
    return KErrNone; 
    } 
 
// End of File