telephonyserverplugins/multimodetsy/Multimode/sms/set_cmt_mode.h
changeset 0 3553901f7fa8
child 24 6638e7f4bd8f
equal deleted inserted replaced
-1:000000000000 0:3553901f7fa8
       
     1 // Copyright (c) 1997-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 /**
       
    17  @file
       
    18  @internalAll 
       
    19 */
       
    20 
       
    21 #ifndef __SET_CMT_MODE_H__
       
    22 #define __SET_CMT_MODE_H__
       
    23 
       
    24 #include "smsbase.H"
       
    25 
       
    26 class CATSetPhoneToCMTMode : public CATSmsCommands
       
    27 	{
       
    28 public:
       
    29 	static CATSetPhoneToCMTMode* NewL(CATIO* aIo, CTelObject* aTelObject, CATInit* aInit,
       
    30 									 CPhoneGlobals* aGlobals,
       
    31 									 RMobileSmsMessaging::TMobileSmsReceiveMode& iCurrentRxModeVariable);
       
    32 	
       
    33 protected:
       
    34 	virtual void EventSignal(TEventSource aSource);
       
    35 	virtual void CompleteWithIOError(TEventSource aSource, TInt aStatus);
       
    36 	void Start(TTsyReqHandle aTsyReqHandle, TAny* aParams);
       
    37 	void Stop(TTsyReqHandle aTsyReqHandle);
       
    38 	void Complete(TInt aError);
       
    39 	virtual void Complete(TInt aError, TEventSource aSource);
       
    40 
       
    41 private:
       
    42 	// Constructor
       
    43 	CATSetPhoneToCMTMode(CATIO* aIo, CTelObject* aTelObject, CATInit* aInit,
       
    44 	                     CPhoneGlobals* aGlobals,
       
    45   	                     RMobileSmsMessaging::TMobileSmsReceiveMode& iCurrentRxModeVariable);
       
    46 
       
    47 	RMobileSmsMessaging::TMobileSmsReceiveMode& iClientsCurrentRxMode;
       
    48 	};
       
    49 
       
    50 #endif