mmshplugins/mmshaoplugin/inc/mmusptteventobserver.h
changeset 15 ccd8e69b5392
parent 2 b31261fd4e04
child 20 e8be2c2e049d
child 22 496ad160a278
equal deleted inserted replaced
2:b31261fd4e04 15:ccd8e69b5392
     1 /*
       
     2 * Copyright (c) 2003 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:  The observer class for monitoring kodiak ptt call.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef MMUSPTTEVENTOBSERVER_H
       
    20 #define MMUSPTTEVENTOBSERVER_H
       
    21 
       
    22 #include <ctsydomainpskeys.h>
       
    23 
       
    24 
       
    25 #ifdef UNIT_TESTING // if unit testing
       
    26 
       
    27     const TUint KCTsyKodiakPtt = 1234;
       
    28     enum TPSCTsyKodiakPtt
       
    29         {
       
    30         EPSCTsyKodiakPttActive,
       
    31         EPSCTsyKodiakPttNotActive    
       
    32         };
       
    33 
       
    34 #endif
       
    35 
       
    36 /**
       
    37 *  @publishedAll
       
    38 *  @released
       
    39 *
       
    40 *  The observer class for monitoring Kodiak Ptt call events.
       
    41 */
       
    42 class MMusPttEventObserver
       
    43     {
       
    44 public: 
       
    45 
       
    46     /**
       
    47     * An event related to kodiak ptt call
       
    48     * @param aVal value of kodiak ptt call state.    
       
    49     **/
       
    50    #ifdef UNIT_TESTING // if unit testing
       
    51    virtual void PttCallEventOccuredL(TPSCTsyKodiakPtt& aVal) = 0; 
       
    52    #endif
       
    53 
       
    54     };
       
    55 
       
    56 #endif // MMUSPTTEVENTOBSERVER_H
       
    57