epoc32/include/mw/aknapp.h
branchSymbian2
changeset 2 2fe1408b6811
parent 1 666f914201fb
child 4 837f303aceeb
     1.1 --- a/epoc32/include/mw/aknapp.h	Tue Nov 24 13:55:44 2009 +0000
     1.2 +++ b/epoc32/include/mw/aknapp.h	Tue Mar 16 16:12:26 2010 +0000
     1.3 @@ -1,1 +1,70 @@
     1.4 -aknapp.h
     1.5 +/*
     1.6 +* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
     1.7 +* All rights reserved.
     1.8 +* This component and the accompanying materials are made available
     1.9 +* under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
    1.10 +* which accompanies this distribution, and is available
    1.11 +* at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
    1.12 +*
    1.13 +* Initial Contributors:
    1.14 +* Nokia Corporation - initial contribution.
    1.15 +*
    1.16 +* Contributors:
    1.17 +*
    1.18 +* Description: 
    1.19 +*
    1.20 +*
    1.21 +*/
    1.22 +
    1.23 +#ifndef __AKNAPP_H__
    1.24 +#define __AKNAPP_H__
    1.25 +
    1.26 +// INCLUDES
    1.27 +
    1.28 +#include <eikapp.h>
    1.29 +
    1.30 +// CLASS DECLARATION
    1.31 +
    1.32 +/**
    1.33 +*  Base class for a Series 60 application.
    1.34 +*
    1.35 +*  @since Series 60 0.9
    1.36 +*/
    1.37 +class CAknApplication : public CEikApplication
    1.38 +	{
    1.39 +public:
    1.40 +	// from CApaApplication
    1.41 +	
    1.42 +	/**
    1.43 +	* From @c CApaApplication. Completes construction of this application
    1.44 +	* object. @c PreDocConstructL is implemented to first check that an instance
    1.45 +	* of the application being constructed is not already present. If it is 
    1.46 +	* present, then the application switches to the existing instance and then
    1.47 +	* exits. This check is only carried out for non-embedded applications.
    1.48 +    * This function calls @c CEikApplication::PreDocConstructL.
    1.49 +    */
    1.50 +	IMPORT_C virtual void PreDocConstructL();
    1.51 +	
    1.52 +	/**
    1.53 +    * From @c CApaApplication. Opens the .ini file associated with the
    1.54 +    * application. By default, ini files are not supported by SERIES60 
    1.55 +    * applications. If you want to use an ini file, either override this
    1.56 +    * function to base call @c CEikApplication::OpenIniFileLC, or call it
    1.57 +    * directly.
    1.58 +    * @param aFs File server session to use. Not used.
    1.59 +    * @return Pointer to the dictionary store object representing the
    1.60 +    * application's .ini file.
    1.61 +    */
    1.62 +	IMPORT_C CDictionaryStore* OpenIniFileLC(RFs& aFs) const;
    1.63 +	
    1.64 +	
    1.65 +	/**
    1.66 +	* Sets new application server.
    1.67 +	* @since Series 60 3.0
    1.68 +	* @param aAppServer The server pointer to be set.
    1.69 +	*/
    1.70 +	IMPORT_C void NewAppServerL(CApaAppServer*& aAppServer);
    1.71 +	};
    1.72 +
    1.73 +#endif
    1.74 +