meetingrequest/mrviewer/inc/mmrinfoprovider.h
branchRCL_3
changeset 12 4ce476e64c59
equal deleted inserted replaced
11:0396474f30f5 12:4ce476e64c59
       
     1 /*
       
     2 * Copyright (c) 2002-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:  MR Info Provider interface 
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MMRINFOPROVIDER_H
       
    20 #define MMRINFOPROVIDER_H
       
    21 
       
    22 //  INCLUDES
       
    23 
       
    24 // FORWARD DECLARATIONS
       
    25 class MMRPolicyProvider;
       
    26 class MESMRCalEntry;
       
    27 
       
    28 // CLASS DECLARATION
       
    29 
       
    30 /**
       
    31  * MMRInfoProvider defines an accessor interface for UI to access current
       
    32  * policy and entry information.
       
    33  */
       
    34 class MMRInfoProvider
       
    35     {
       
    36 public:  // Interface
       
    37     
       
    38     /**
       
    39      * Gets the MMRPolicyProvider interface.
       
    40      *
       
    41      * @return policy provider 
       
    42      */
       
    43     virtual MMRPolicyProvider& PolicyProvider() const = 0;
       
    44     
       
    45     /**
       
    46      * Gets the current entry.
       
    47      * 
       
    48      * @return entry.
       
    49      */
       
    50     virtual MESMRCalEntry* EntryL() = 0;
       
    51 
       
    52 protected:
       
    53     
       
    54     /**
       
    55      * Protected destructor to prevent destruction of implementation
       
    56      * via this interface.
       
    57      */
       
    58     virtual ~MMRInfoProvider() {}
       
    59     
       
    60     };
       
    61 
       
    62 #endif      // MMRINFOPROVIDER_H
       
    63 
       
    64 // End of File