convergedconnectionhandler/cchserver/inc/cchfeaturemanager.h
branchRCL_3
changeset 22 d38647835c2e
parent 0 a4daefaec16c
equal deleted inserted replaced
21:f742655b05bf 22:d38647835c2e
       
     1 /*
       
     2 * Copyright (c) 2003-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:  CCchFeatureManager
       
    15 *                Reads phone features
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef CCHFEATUREMANAGER_H
       
    21 #define CCHFEATUREMANAGER_H
       
    22 
       
    23 // INCLUDES
       
    24 #include <e32base.h>
       
    25 
       
    26 // FORWARD DECLARATIONS
       
    27 class CRepository;
       
    28 
       
    29 // CLASS DECLARATION
       
    30 /**
       
    31 *  CCchFeatureManager
       
    32 *  
       
    33 *  @lib   cchserver
       
    34 *  @since 3.2* 
       
    35 */
       
    36 class CCchFeatureManager: public CBase
       
    37 {
       
    38 public:
       
    39 
       
    40     /**
       
    41      * Two-phased constructor.
       
    42      */
       
    43     static CCchFeatureManager* NewL();
       
    44 
       
    45     /**
       
    46      * Destructor.
       
    47      */
       
    48     virtual ~CCchFeatureManager();
       
    49     
       
    50     /**
       
    51      * Returns whether VoIP is supported.
       
    52      *
       
    53      * @since S60 3.2
       
    54      * @return ETrue if feature is supported
       
    55      */  
       
    56     TBool VoIPSupported() const;
       
    57     
       
    58     /**
       
    59      * Checks is phone in offline-mode.
       
    60      *
       
    61      * @since S60 3.2
       
    62      * @return ETrue if phone is in offline-mode
       
    63      */  
       
    64     TBool OfflineMode() const;
       
    65        
       
    66     /**
       
    67      * Returns whether Cover Display is supported.
       
    68      *
       
    69      * @since S60 3.2
       
    70      * @return ETrue if feature is supported
       
    71      */  
       
    72     TBool CoverDisplaySupported() const;
       
    73 
       
    74 private:
       
    75 
       
    76     /**
       
    77      * Constructors
       
    78      */         
       
    79     CCchFeatureManager();
       
    80     
       
    81     /**
       
    82      * By default Symbian 2nd phase constructor is private.
       
    83      */
       
    84     void ConstructL();
       
    85 
       
    86 private:
       
    87     
       
    88     /**
       
    89     * VoIP support status.
       
    90     */
       
    91     TBool iVoIPSupported;
       
    92     
       
    93     /**
       
    94     * Cover display support status.
       
    95     */
       
    96     TBool iCoverDisplaySupported;
       
    97     
       
    98     /**
       
    99     * Offline mode
       
   100     */
       
   101     CRepository* iOfflineRepository;
       
   102 };
       
   103 
       
   104 #endif // CCHFEATUREMANAGER_H
       
   105 
       
   106 // End of File