www.pudn.com > smssend-vc.rar > csmsapp.cpp
/* Copyright (c) 2003, Nokia. All rights reserved */
// INCLUDE FILES
#include "CSmsApp.h"
#include "CSmsDocument.h"
// ============================ MEMBER FUNCTIONS ===============================
// -----------------------------------------------------------------------------
// CSmsApp::AppDllUid()
// Returns application UID.
// -----------------------------------------------------------------------------
//
TUid CSmsApp::AppDllUid() const
{
return KUidSMS;
}
// -----------------------------------------------------------------------------
// CSmsApp::CreateDocumentL()
// Creates CSmsDocument object.
// -----------------------------------------------------------------------------
//
CApaDocument* CSmsApp::CreateDocumentL()
{
return CSmsDocument::NewL( *this );
}
// ========================== OTHER EXPORTED FUNCTIONS =========================
// -----------------------------------------------------------------------------
// NewApplication()
// Constructs CSmsApp.
// -----------------------------------------------------------------------------
//
EXPORT_C CApaApplication* NewApplication()
{
return new CSmsApp;
}
// -----------------------------------------------------------------------------
// E32Dll()
// Entry point function for Symbian Apps.
// -----------------------------------------------------------------------------
//
GLDEF_C TInt E32Dll( TDllReason )
{
return KErrNone;
}
// End of File