mmserv/tms/tmscallserver/inc/dtmfnotifier.h
changeset 14 80975da52420
parent 12 5a06f39ad45b
child 16 43d09473c595
child 19 4a629bc82c5e
equal deleted inserted replaced
12:5a06f39ad45b 14:80975da52420
     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 DTMFNOTIFIER_H
       
    19 #define DTMFNOTIFIER_H
       
    20 
       
    21 //  INCLUDES
       
    22 #include <e32property.h>
       
    23 #include <sounddevice.h>
       
    24 #include "tmsclientserver.h"
       
    25 
       
    26 namespace TMS {
       
    27 
       
    28 // CLASS DECLARATION
       
    29 class TMSDtmfNotifier
       
    30     {
       
    31 public:
       
    32     // Constructors and destructor
       
    33 
       
    34     /**
       
    35      * Two-phased constructor.
       
    36      */
       
    37     static TMSDtmfNotifier* NewL();
       
    38 
       
    39     /**
       
    40      * Destructor.
       
    41      */
       
    42     virtual ~TMSDtmfNotifier();
       
    43 
       
    44 public:
       
    45     // New functions
       
    46 
       
    47     void SetDtmf(TmsMsgBufPckg dtmfpckg, TBool aPublish = ETrue);
       
    48 
       
    49 private:
       
    50 
       
    51     /**
       
    52      * C++ default constructor.
       
    53      */
       
    54     TMSDtmfNotifier();
       
    55 
       
    56     /**
       
    57      * By default Symbian 2nd phase constructor is private.
       
    58      */
       
    59     void ConstructL();
       
    60 
       
    61 private:
       
    62     TInt iVolume; //Volume
       
    63     };
       
    64 
       
    65 } //namespace TMS
       
    66 
       
    67 #endif // DTMFNOTIFIER_H
       
    68 
       
    69 // End of File