phoneengine/engineinfo/inc/cpeengineinfo.h
changeset 0 5f000ab63145
equal deleted inserted replaced
-1:000000000000 0:5f000ab63145
       
     1 /*
       
     2 * Copyright (c) 2008-2008 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:  Telephony events and commands related information
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef CPEENGINEINFO_H
       
    19 #define CPEENGINEINFO_H
       
    20 
       
    21 #include <e32base.h>
       
    22 #include "mpedatastore.h"
       
    23 
       
    24 /**
       
    25  * Holds telephony events and commands related information
       
    26  * + Call information is valid for a lifetime of a call
       
    27  * + Command information is considered valid at all times and it is 
       
    28  * the clients responsibility to set it correctly
       
    29  * + Device information related to telephony is valid after startup
       
    30  * is completed and is updated according to a set of monitored indications
       
    31  *
       
    32  */
       
    33 NONSHARABLE_CLASS( CPEEngineInfo ) 
       
    34     : public CBase, public MPEDataStore
       
    35     {
       
    36     
       
    37 public:
       
    38         
       
    39         /**
       
    40          * Two-phased constructor.
       
    41          * 
       
    42          * @return  The newly created object. Ownership is transferred to the caller.
       
    43          */
       
    44         IMPORT_C static CPEEngineInfo* NewL();
       
    45         
       
    46         /**
       
    47          * Destructor.
       
    48          */
       
    49         virtual ~CPEEngineInfo();
       
    50         
       
    51 protected:
       
    52         
       
    53         /**
       
    54          * Constructor.
       
    55          */
       
    56         CPEEngineInfo();
       
    57     };
       
    58 
       
    59 #endif /*CPEENGINEINFO_H_*/