landmarks/locationlandmarks/server/inc/EPos_MPosLmServerOperationObserver.h
changeset 0 667063e416a2
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/landmarks/locationlandmarks/server/inc/EPos_MPosLmServerOperationObserver.h	Tue Feb 02 01:06:48 2010 +0200
@@ -0,0 +1,56 @@
+/*
+* 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: Interface for observers of server operations.
+*
+*
+*/
+
+
+#ifndef MPOSLMSERVEROPERATIONOBSERVER_H
+#define MPOSLMSERVEROPERATIONOBSERVER_H
+
+//  INCLUDES
+#include <e32base.h>
+
+// FORWARD DECLARATIONS
+class CPosLmServerOperation;
+
+/**
+*  Interface for observers of server operations.
+*
+*  This class is subclassed by clients who wants to listen for status on
+*  server operations.
+*/
+class MPosLmServerOperationObserver
+    {
+     public:  // New functions
+
+        /**
+        * Called to report status of a server operation.
+        *
+        * Will be called when an operation is completed or if it has failed.
+        *
+        * @param aServerOperation The object which handles the server operation.
+        * @param aStatus The status of the server operation.
+        */
+        virtual void HandleOperationStatus(
+        /* IN  */       CPosLmServerOperation* aServerOperation,
+        /* IN  */       TInt aStatus
+        ) = 0;
+
+    };
+
+#endif      // MPOSLMSERVEROPERATIONOBSERVER_H
+
+// End of File