locationrequestmgmt/networkrequesthandler/inc/privacyhandlerobserver.h
changeset 0 9cfd9a3ee49c
equal deleted inserted replaced
-1:000000000000 0:9cfd9a3ee49c
       
     1 /*
       
     2 * Copyright (c) 2009 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:
       
    15 *
       
    16 */
       
    17 
       
    18 /**
       
    19 @file
       
    20 @internalComponent
       
    21 @released
       
    22 */
       
    23 
       
    24 #ifndef PRIVACYHANDLEROBSERVER_H 
       
    25 #define PRIVACYHANDLEROBSERVER_H
       
    26 
       
    27 #include "lbsnetinternalapi.h"
       
    28 
       
    29 /**
       
    30  * Used for feeding back responses from the Privacy Uniformity Layer 
       
    31  * to the Privacy and Location Handler
       
    32  */
       
    33 class  MLbsSessionObserver;
       
    34 class MPrivacyHandlerObserver
       
    35     {
       
    36 public:
       
    37 	virtual void SetServerObserver(MLbsSessionObserver* aNrhPrivacyServer) = 0;
       
    38     virtual void OnRespondNetworkLocationRequest(const TLbsNetSessionIdInt& aRequestId, 
       
    39 							TLbsNetworkEnumInt::TLbsPrivacyResponseInt aRequestResult,
       
    40                             TInt aResponseReason) = 0;
       
    41     virtual void OnCancelNetworkLocationRequest(const TLbsNetSessionIdInt& aRequestId) = 0;
       
    42     };
       
    43     
       
    44 
       
    45 #endif // PRIVACYHANDLEROBSERVER_H