telephonyserverplugins/multimodetsy/Multimode/sms/cmti_stored.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 __CMTI_STORED_H__
       
    22 #define __CMTI_STORED_H__
       
    23 
       
    24 #include "smsbase.H"
       
    25 
       
    26 // Forward class declarations
       
    27 class CReceiveSmsQueue;
       
    28 
       
    29 
       
    30 class CATSmsWaitForAndHandleCMTIStored : public CATBase
       
    31 	{
       
    32 public:		// public methods
       
    33 	static CATSmsWaitForAndHandleCMTIStored* NewL(CATIO* aIo, CTelObject* aTelObject, CPhoneGlobals* aGlobals, 
       
    34 										          CReceiveSmsQueue& aReceiveQueue);
       
    35 	~CATSmsWaitForAndHandleCMTIStored();
       
    36 
       
    37 	void Enable();
       
    38 	void Disable();
       
    39 
       
    40 
       
    41 private:		// private methods
       
    42 	CATSmsWaitForAndHandleCMTIStored(CATIO* aIo, CTelObject* aTelObject, CPhoneGlobals* aGlobals, 
       
    43 							         CReceiveSmsQueue& aReceiveQueue);
       
    44 	// Utility methods
       
    45 	void CMTIResponseL(RMobileSmsMessaging::TMobileSmsReceiveAttributesV1& aAttr);
       
    46 
       
    47 	// Pure virtuals from CATBase
       
    48 	virtual void CompleteWithIOError(TEventSource aSource,TInt aStatus);
       
    49 	virtual void EventSignal(TEventSource aSource);
       
    50 
       
    51 private:		// private data
       
    52 	CCommChatString* iMsgArrivedExpectString;	// The CMTI expect string
       
    53 	CReceiveSmsQueue&  iReceiveQueue;			// Reference to our client's receive queue
       
    54 	};
       
    55 
       
    56 #endif