mmsharing/livecommsui/lcui/tsrc/ipvtengine/inc/musengsessionmanager.h
branchRCL_3
changeset 33 bc78a40cd63c
parent 32 73a1feb507fb
child 35 6c57ef9392d2
equal deleted inserted replaced
32:73a1feb507fb 33:bc78a40cd63c
     1 /*
       
     2 * Copyright (c) 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: 
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef CMUSENGSESSIONMANAGER_H
       
    19 #define CMUSENGSESSIONMANAGER_H
       
    20 
       
    21 // INCLUDES
       
    22 #include "lcengine.h"
       
    23 #include "mccdatareceiverobserver.h"
       
    24 
       
    25 // FORWARD DECLARATIONS
       
    26 class MLcSession;
       
    27 class CMusEngMceSession;
       
    28 class MLcUiProvider;
       
    29 class CMccDataReceiver;
       
    30 class CMccDataSender;
       
    31 
       
    32 class CMusEngSessionManager : public CLcEngine, public MMccDataReceiverObserver
       
    33     {
       
    34     public:
       
    35     
       
    36         static CMusEngSessionManager* NewL();
       
    37         ~CMusEngSessionManager();
       
    38 
       
    39 	void DataReceived( const TDataMessage& aData );
       
    40     
       
    41     public: // From CLcEngine
       
    42     
       
    43         MLcSession& Session();       
       
    44         
       
    45         TBool IsFeatureSupported( TLcFeature aLcFeature );
       
    46         
       
    47     private: // Constructors
       
    48 
       
    49         CMusEngSessionManager();
       
    50         void ConstructL();
       
    51                
       
    52     private: // Data
       
    53         
       
    54         CMusEngMceSession* iSession;
       
    55 
       
    56         CMccDataReceiver* iMsgReceiver;
       
    57         CMccDataSender* iMsgSender;
       
    58 
       
    59     private: // Constants
       
    60         
       
    61         static const int VTSETTING_ALWAYS_ASK_FIRST = 0;
       
    62         static const int VTSETTING_DO_NOT_SHOW = 1;
       
    63         static const int VTSETTING_SHOW_AUTOMATICALLY = 2;
       
    64         
       
    65     };  
       
    66     
       
    67 #endif // CMUSENGSESSIONMANAGER_H
       
    68 
       
    69 // end of file