stifui/avkon/stifui/src/AppUIApp.cpp
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 15 Jul 2010 18:39:46 +0300
branchRCL_3
changeset 19 d40e813b23c0
parent 9 404ad6c9bc20
permissions -rw-r--r--
Revision: 201025 Kit: 2010127

/*
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). 
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
* 
* Description: This file contains CAppUIApp class definition.
*
*/

// INCLUDE FILES
#include    "AppUIApp.h"
#include    "AppUIDocument.h"

// ================= MEMBER FUNCTIONS =======================

// ---------------------------------------------------------
// CSTIFAppUIApp::AppDllUid()
// Returns application UID
// ---------------------------------------------------------
//
TUid CAppUIApp::AppDllUid() const
    {
    return KUidAppUI;
    }

   
// ---------------------------------------------------------
// CSTIFAppUIApp::CreateDocumentL()
// Creates CSTIFAppUIDocument object
// ---------------------------------------------------------
//
CApaDocument* CAppUIApp::CreateDocumentL()
    {
    return CAppUIDocument::NewL( *this );
    }

// ================= OTHER EXPORTED FUNCTIONS ==============
//

	#include <eikstart.h>
	// ---------------------------------------------------------
	// NewApplication() 
	// Exported function
	// Returns: CApaApplication: 
	// ---------------------------------------------------------
	//
	LOCAL_C CApaApplication* NewApplication()
		{
		return new CAppUIApp;
		}
	// ---------------------------------------------------------
	// E32Main() 
	// EXE Entry point
	// Returns: KErrNone: No error
	// ---------------------------------------------------------
	//
	GLDEF_C TInt E32Main()
		{
		return EikStart::RunApplication(NewApplication);
		}

// End of File