--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/fotaapplication/fotaserver/FotaServer/inc/FotaSrvUI.h Thu Dec 17 09:07:52 2009 +0200
@@ -0,0 +1,112 @@
+/*
+* 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 <bldvariant.hrh>
+
+// INCLUDES
+#include <eikapp.h>
+#include <eikdoc.h>
+#include <e32std.h>
+#include <coeccntx.h>
+#include <aknappui.h>
+#include <eikdialg.h>
+#include <eikmenup.h>
+#include <aknnavi.h>
+#include <aknnavide.h>
+#include <aknnavilabel.h>
+#include <akntitle.h>
+#include <AknProgressDialog.h>
+
+#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