telephonyprotocols/psdagt/TS_PsdAgt/AgtNotify.h
changeset 0 3553901f7fa8
equal deleted inserted replaced
-1:000000000000 0:3553901f7fa8
       
     1 // Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15  
       
    16 #ifndef __AGTNOTIFY_H__
       
    17 #define __AGTNOTIFY_H__
       
    18 
       
    19 #include "dummyEtel.h"
       
    20 #include <etelmm.h>   // RMobilePhone
       
    21 
       
    22 // QoS commands to Dummy ETEL to either reduce or restore QoS
       
    23 enum QoSWarningNotification
       
    24 	{	
       
    25 	EReduce,
       
    26 	ERestore
       
    27 	};
       
    28 
       
    29 class MAgtNotify 
       
    30 	{
       
    31 public:
       
    32 	virtual void SetTestCase(TInt aTestCase)=0;
       
    33 	virtual void NotifyAgt(enum QoSWarningNotification aNotification)=0;
       
    34 	virtual void SetMode(RTelServer::TMobilePhoneNetworkMode aMode)=0;
       
    35 	};
       
    36 
       
    37 
       
    38 // Dummy concrete implementation of NOTIFY, will be replaced with James's stuff later
       
    39 /*class SteveNotify : public MAgxNotify
       
    40 	{
       
    41 public:
       
    42 	virtual void SetTestCase(TInt ) {}
       
    43 	virtual void NotifyAgx(enum QoSWarningNotification ) {}
       
    44 	virtual void SetMode(RTelServer::TMobilePhoneNetworkMode ) {}
       
    45 	};
       
    46 */
       
    47 class TRealAgtNotify : public MAgtNotify
       
    48 	{
       
    49 public:
       
    50 	TRealAgtNotify();
       
    51 	virtual ~TRealAgtNotify();
       
    52 public: // from MAgxNotify
       
    53 	virtual void SetTestCase(TInt aTestCase);
       
    54 	virtual void NotifyAgt(enum QoSWarningNotification aNotification);
       
    55 	virtual void SetMode(RTelServer::TMobilePhoneNetworkMode aMode);
       
    56 private:
       
    57 	RTelServer iEtelSess;
       
    58 	TInt iTestCase;
       
    59 	};
       
    60 
       
    61 
       
    62 #endif // ifndef __AGTNOTIFY_H__