meetingrequest/mrpolicy/inc/mmrpolicyprovider.h
branchRCL_3
changeset 12 4ce476e64c59
equal deleted inserted replaced
11:0396474f30f5 12:4ce476e64c59
       
     1 /*
       
     2 * Copyright (c) 2007-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:  Interface definition for policy checker
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MMRPOLICYPROVIDER_H
       
    20 #define MMRPOLICYPROVIDER_H
       
    21 
       
    22 class CESMRPolicy;
       
    23 
       
    24 /**
       
    25  * MMRPolicyProvider defines interface for accessing policy from CESMRPolicyManager.
       
    26  */
       
    27 class MMRPolicyProvider
       
    28     {
       
    29 public: // Interface
       
    30 
       
    31     /**
       
    32      * Gets the current policy resolved by the policy provider implementation
       
    33      * 
       
    34      * @return reference to the current policy instance.
       
    35      */
       
    36     virtual const CESMRPolicy& CurrentPolicy() const = 0;
       
    37 
       
    38 protected:
       
    39     /**
       
    40      * Virtual destructor
       
    41      */
       
    42     virtual ~MMRPolicyProvider() {}
       
    43 
       
    44 
       
    45     
       
    46     };
       
    47 
       
    48 #endif // MMRPOLICYPROVIDER_H