mmserv/tms/inc/tmscallbody.h
changeset 0 71ca22bcf22a
equal deleted inserted replaced
-1:000000000000 0:71ca22bcf22a
       
     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: Telephony Multimedia Service
       
    15  *
       
    16  */
       
    17 
       
    18 #ifndef TMS_CALL_BODY_H
       
    19 #define TMS_CALL_BODY_H
       
    20 
       
    21 #include <tms.h>
       
    22 
       
    23 namespace TMS {
       
    24 
       
    25 // FORWARD DECLARATIONS
       
    26 class TMSStream;
       
    27 class TMSDTMF;
       
    28 class TMSRingTone;
       
    29 
       
    30 // Class declaration
       
    31 class TMSCallBody
       
    32     {
       
    33 public:
       
    34     virtual ~TMSCallBody() {}
       
    35     virtual TMSCallType GetCallType() = 0;
       
    36     virtual gint GetCallContextId(guint& ctxid) = 0;
       
    37     virtual gint CreateStream(const TMSStreamType type, TMSStream*& strm) = 0;
       
    38     virtual gint DeleteStream(TMSStream*& strm) = 0;
       
    39     };
       
    40 
       
    41 } //namespace TMS
       
    42 
       
    43 #endif // TMS_CALL_BODY_H
       
    44 
       
    45 // End of file