williamr@2: /* williamr@2: * Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies). williamr@2: * All rights reserved. williamr@2: * This component and the accompanying materials are made available williamr@2: * 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 williamr@2: * which accompanies this distribution, and is available williamr@2: * at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". williamr@2: * williamr@2: * Initial Contributors: williamr@2: * Nokia Corporation - initial contribution. williamr@2: * williamr@2: * Contributors: williamr@2: * williamr@2: * Description: williamr@2: * williamr@2: * williamr@2: */ williamr@2: williamr@2: #ifndef __AKNAPP_H__ williamr@2: #define __AKNAPP_H__ williamr@2: williamr@2: // INCLUDES williamr@2: williamr@2: #include williamr@2: williamr@2: // CLASS DECLARATION williamr@2: williamr@2: /** williamr@2: * Base class for a Series 60 application. williamr@2: * williamr@2: * @since Series 60 0.9 williamr@2: */ williamr@2: class CAknApplication : public CEikApplication williamr@2: { williamr@2: public: williamr@2: // from CApaApplication williamr@2: williamr@2: /** williamr@2: * From @c CApaApplication. Completes construction of this application williamr@2: * object. @c PreDocConstructL is implemented to first check that an instance williamr@2: * of the application being constructed is not already present. If it is williamr@2: * present, then the application switches to the existing instance and then williamr@2: * exits. This check is only carried out for non-embedded applications. williamr@2: * This function calls @c CEikApplication::PreDocConstructL. williamr@2: */ williamr@2: IMPORT_C virtual void PreDocConstructL(); williamr@2: williamr@2: /** williamr@2: * From @c CApaApplication. Opens the .ini file associated with the williamr@2: * application. By default, ini files are not supported by SERIES60 williamr@2: * applications. If you want to use an ini file, either override this williamr@2: * function to base call @c CEikApplication::OpenIniFileLC, or call it williamr@2: * directly. williamr@2: * @param aFs File server session to use. Not used. williamr@2: * @return Pointer to the dictionary store object representing the williamr@2: * application's .ini file. williamr@2: */ williamr@2: IMPORT_C CDictionaryStore* OpenIniFileLC(RFs& aFs) const; williamr@2: williamr@2: williamr@2: /** williamr@2: * Sets new application server. williamr@2: * @since Series 60 3.0 williamr@2: * @param aAppServer The server pointer to be set. williamr@2: */ williamr@2: IMPORT_C void NewAppServerL(CApaAppServer*& aAppServer); williamr@2: }; williamr@2: williamr@2: #endif williamr@2: