calendarui/controller/inc/calencurrentlocationobserver.h
changeset 0 f979ecb2b13e
equal deleted inserted replaced
-1:000000000000 0:f979ecb2b13e
       
     1 /*
       
     2 * Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:   Notification interface for S60 Calendar customizations
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef CALENCUTTENTLOCATIONOBSERVER_H
       
    20 #define CALENCUTTENTLOCATIONOBSERVER_H
       
    21 
       
    22 #include <e32base.h>
       
    23 // FORWARD DECLARATIONS
       
    24 class CMnMapView;
       
    25 
       
    26 // The observer class
       
    27 class MCalenCurrentLocationObserver 
       
    28     {
       
    29     public:
       
    30 		// clients must implement these functions
       
    31 		/**
       
    32 		* Callback function to inform observers that
       
    33 		* request for current location is succesfully complete
       
    34 		*/
       
    35         virtual void NotifyCurrentLocationL(  ) = 0;
       
    36         
       
    37         /**
       
    38         * Callback function to inform observers that
       
    39         * request for current location is failed due to an error
       
    40         * @param errorCode 	Error Code
       
    41         */
       
    42         virtual void NotifyErrorL(const TInt errorCode) = 0;
       
    43     };
       
    44 
       
    45 #endif /* CALENCUTTENTLOCATIONOBSERVER_H */