locationsystemui/locationsysui/locverifier/inc/locnotifierwrapper.h
branchRCL_3
changeset 44 2b4ea9893b66
parent 42 02ba3f1733c6
child 45 6b6920c56e2f
equal deleted inserted replaced
42:02ba3f1733c6 44:2b4ea9893b66
     1 /*
       
     2 * Copyright (c) 2005-2006 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:  This file contains the declarations for the Notifier Proxy.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #include <AknNotifierWrapper.h> // link against aknnotifierwrapper.lib
       
    20 
       
    21 #ifndef LOCNOTIFIERWRAPPER_H 
       
    22 #define LOCNOTIFIERWRAPPER_H
       
    23 
       
    24 
       
    25 /**
       
    26  *  The class to provide custom security check.
       
    27  *
       
    28  *  This class provides a custom security check that will be called whenever
       
    29  *  a Location notifier message is received by the UIKON Server.
       
    30  *
       
    31  *  @lib locnotifierwrapper.lib
       
    32  *  @since S60 v3.1
       
    33  */
       
    34  class CLocNotifierSecurityCheck : public CBase, 
       
    35                                    public MAknNotifierCustomSecurityCheck
       
    36     {
       
    37     public: // from base class MAknNotifierCustomSecurityCheck
       
    38     /**
       
    39      * From MAknNotifierCustomSecurityCheck.
       
    40      * This method will be called by the framework classes to free up all 
       
    41      * resources that have been allocated while doing the security check.
       
    42      *
       
    43      * @since S60 v3.1
       
    44      */
       
    45     void Release();
       
    46     
       
    47     /**
       
    48      * From MAknNotifierCustomSecurityCheck.
       
    49      * This is the method that performs the Security check.
       
    50      * It is called from the framework classes.
       
    51      * This method Leaves with KErrPermissionDenied to indicate a check fail
       
    52      *
       
    53      * @since S60 v3.1
       
    54      * @param aMessage Pointer the Notification request message.
       
    55      */
       
    56     void CustomSecurityCheckL(const RMessagePtr2& aMessage);
       
    57     };
       
    58 
       
    59  
       
    60 #endif //LOCNOTIFIERWRAPPER
       
    61