locationsystemui/locationsysui/locpsysettings/locpsysettingseng/inc/locpsyengobserver.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/locationsystemui/locationsysui/locpsysettings/locpsysettingseng/inc/locpsyengobserver.h Tue Feb 02 01:06:48 2010 +0200
@@ -0,0 +1,49 @@
+/*
+* Copyright (c) 2002 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: Provides an observer interface to location application engine.
+*
+*/
+
+
+
+#ifndef MLOCPSYENGOBSERVER_H_
+#define MLOCPSYENGOBSERVER_H_
+
+// CLASS DECLARATIONS
+/**
+* Engine provides this API only for location application.
+* Via this interface engine observers are notified about a new event.
+*
+* @lib locpsysettingseng.lib
+* @since 3.1
+*/
+class MLocPsyEngObserver
+ {
+ public: // New functions
+ /**
+ * Notifies the engine observer about occured event.
+ * Engine observer has to update its data when this function is called.
+ */
+ virtual void NotifyL() = 0;
+
+ /**
+ * Called if occured event causes a leave in previous NotifyL method.
+ * @param aErrorCode Occured general errorcode.
+ */
+ virtual void NotifyError( TInt aErrorCode ) = 0;
+ };
+
+#endif // MLOCPSYENGOBSERVER_H_
+
+// End of File