diff -r 13d7c31c74e0 -r b183ec05bd8c fotaapplication/fotaserver/FotaServer/inc/FotaSrvUI.h --- a/fotaapplication/fotaserver/FotaServer/inc/FotaSrvUI.h Thu Aug 19 10:44:50 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,112 +0,0 @@ -/* -* Copyright (c) 2005 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: Header file for CFotaSrvUi -* -*/ - - - -#ifndef CFOTASRVUI_H -#define CFOTASRVUI_H - -#include - -// INCLUDES -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include "FotaSrvDocument.h" -#include "fotaConst.h" - -// FORWARD DECLARATIONS - -/** - * Application UI class - * - * @lib fotaserver - * @since S60 v3.1 - */ -class CFotaSrvUi : public CAknAppUi - { -public: // Constructors and destructor - - void ConstructL(); - - virtual ~CFotaSrvUi(); - -private: // from base classes - - - /** - * @param aResourceId - * @param aMenuPane - * @return none - */ - void DynInitMenuPaneL( TInt aResourceId, CEikMenuPane* aMenuPane ); - - - /** - * From CEikAppUi, takes care of command handling. - * @param aCommand id of the command to be handled - * @return None - */ - void HandleCommandL(TInt aCommand); - - - /** - * From CEikAppUi, handles key events. - * @param aKeyEvent Event to handled. - * @param aType Type of the key event. - * @return Reponse code (EKeyWasConsumed, EKeyWasNotConsumed). - */ - virtual TKeyResponse HandleKeyEventL( const TKeyEvent& aKeyEvent - , TEventCode aType ); - - /** - * From CAknAppUi, handles file change. - * @param aFileName New file to be opened. - * @return None - */ - void OpenFileL( const TDesC& aFileName ); - - - /** - * From CAknAppUi, Preparing to close server - * @param None - * @return None - */ - void PrepareToExit(); - -private: //Data - - /** - * Should Fota operation close on an system event (ex. MMC card removal)? - */ - TBool iNeedToClose; - - }; - -#endif - -// End of File