voicerecorder/AppSrc/CVRApplication.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 19 Aug 2010 09:57:40 +0300
branchRCL_3
changeset 19 2f5c9ee7098c
parent 0 845549f293a7
permissions -rw-r--r--
Revision: 201030 Kit: 201033

/*
* Copyright (c) 2002-2006 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 class is a part of the standard application framework.
*     The application gets instantiated starting from this class.
*     Provides a factory method for instantiating the document object.
*
*/


#ifndef CVRAPPLICATION_H
#define CVRAPPLICATION_H

// INCLUDES
#include <aknapp.h>
#include <VoiceRecorderUID.h>

// CONSTANTS
const TUid KVRAppUID = { KVoiceRecorderAppUID3 };

// CLASS DECLARATION
/**
* This class is a part of the standard application framework.
* The application gets instantiated starting from this class.
* Provides a factory method for instantiating the document object.
*/
class CVRApplication
	: public CAknApplication
	{

	private: // from CApaApplication

		/**
		* Creates a CVRDocument instance.
		* @return A pointer to the created document object.
		*/
		CApaDocument* CreateDocumentL();

		/**
		* Returns application's UID value.
		* @return KVRAppUID.
		*/
		TUid AppDllUid() const;
		
		/**
		* Returns a pointer to first-stage constructed server
		* @ return A pointer to AppServer object
		*/
		void NewAppServerL( CApaAppServer*& aAppServer );		
	};

#endif // CVRAPPLICATION_H