locationmapnavfw/library/inc/mnserviceclientbase.h
changeset 0 667063e416a2
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/locationmapnavfw/library/inc/mnserviceclientbase.h	Tue Feb 02 01:06:48 2010 +0200
@@ -0,0 +1,53 @@
+/*
+* Copyright (c) 2005-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:  RMnServiceClientBase class
+*
+*/
+
+
+#ifndef MN_SERVICECLIENTBASE_H
+#define MN_SERVICECLIENTBASE_H
+
+#include <AknServerApp.h>
+
+#include "mninternal.h"
+#include "mnappserviceuids.hrh"
+
+/** \internal
+ *  Base class for service implementations
+ */
+NONSHARABLE_CLASS( RMnServiceClientBase ) : public RAknAppServiceBase
+    {
+    public:
+
+        /** Connects to new application server */
+        void ConnectL( TUid aProviderUid );
+
+        /** Connects to new chained application server */
+        void ConnectChainedL( TUid aProviderUid );
+        
+        /** Cancels last async request */
+        void Cancel();
+
+        /** Closes parent session */
+        void Close();
+        
+    protected:
+        RMnServiceClientBase();
+                
+        TMnIpcCode      iLastRequest;
+    };
+  
+#endif // MN_SERVICECLIENTBASE_H
+