phoneapp/phonemediatorcenter/inc/cphonedataportmessage.h
changeset 0 5f000ab63145
child 21 92ab7f8d0eab
equal deleted inserted replaced
-1:000000000000 0:5f000ab63145
       
     1 /*
       
     2 * Copyright (c) 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: 
       
    15 *     Mediator Message for notifying of used Data Port.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef CPHONEDATAPORTMESSAGE_H
       
    21 #define CPHONEDATAPORTMESSAGE_H
       
    22 
       
    23 // INCLUDES
       
    24 #include <e32base.h>
       
    25 #include "mphonemediatormessage.h"
       
    26 #include "mpeengineinfo.h"
       
    27 
       
    28 // FORWARD DECLARATIONS
       
    29 
       
    30 // CLASS DECLARATION
       
    31 
       
    32 class CPhoneDataPortMessage : public CBase, public MPhoneMediatorMessage
       
    33     {
       
    34     public:  
       
    35 
       
    36         /**
       
    37          * Destructor.
       
    38          */
       
    39         virtual ~CPhoneDataPortMessage();
       
    40         
       
    41         /**
       
    42         * Two-phased constructor.
       
    43         */
       
    44         static CPhoneDataPortMessage* NewL( MPEEngineInfo& aEngineInfo );
       
    45         
       
    46         /**
       
    47         * Executes this Command.
       
    48         */
       
    49         virtual void ExecuteL();
       
    50         
       
    51 
       
    52     private:
       
    53 
       
    54         /**
       
    55         * C++ default constructor.
       
    56         */
       
    57         CPhoneDataPortMessage( MPEEngineInfo& aEngineInfo );
       
    58         
       
    59         /**
       
    60          * By default EPOC constructor is private.
       
    61          */
       
    62         void ConstructL();
       
    63         
       
    64              
       
    65     private:
       
    66     	
       
    67 		MPEEngineInfo& iEngineInfo;
       
    68     };
       
    69     
       
    70 #endif // CPHONEDATAPORTMESSAGE_H
       
    71 
       
    72 // End of File