diff -r 13d7c31c74e0 -r b183ec05bd8c syncmlfw/ds/hostserver/dshostserverbase/inc/Nsmldshostsessioncancel.h --- a/syncmlfw/ds/hostserver/dshostserverbase/inc/Nsmldshostsessioncancel.h Thu Aug 19 10:44:50 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,70 +0,0 @@ -/* -* ============================================================================== -* Name : nsmldshostsessioncancel.h -* Part of : Nokia SyncML / Host Server -* Interface : None -* Description : -* Version : $Revision: 54 $ $Modtime: 2.11.05 8:53 $ -* -* Copyright © 2002-2005 Nokia. All rights reserved. -* This material, including documentation and any related -* computer programs, is protected by copyright controlled by -* Nokia Corporation. All rights are reserved. Copying, -* including reproducing, storing, adapting or translating, any -* or all of this material requires the prior written consent of -* Nokia Corporation. This material also contains confidential -* information which may not be disclosed to others without the -* prior written consent of Nokia Corporation. -* ============================================================================== -*/ - -#ifndef __NSMLDSHOSTSESSIONCANCEL_H__ -#define __NSMLDSHOSTSESSIONCANCEL_H__ - - -// -------------------------------------------------------------------------- -// Includes -// -------------------------------------------------------------------------- -#include -#include -#include -#include - - -// ------------------------------------------------------------------------------------------------ -// Class forwards -// ------------------------------------------------------------------------------------------------ -class MNSmlDsHostSessionCancelEventHandler; - -/** -* An active class to handle user initiated cancel. -* This class informs session to cancel the outgoing session. -* -* @since -*/ -class CNSmlHostSessionCancel : public CActive - { -public: - static CNSmlHostSessionCancel* NewL( MNSmlDsHostSessionCancelEventHandler* aHandler ); - //Destructure - ~CNSmlHostSessionCancel(); - //Subscribe for the property "Cancel Operation". - void Subscribe(); - -private: - //Contructure - CNSmlHostSessionCancel( MNSmlDsHostSessionCancelEventHandler* aHandler ); - //Second phase construction. - void ConstructL(); - //From CActive class - void RunL(); - void DoCancel(); - TInt RunError ( TInt aError ); - -private: - MNSmlDsHostSessionCancelEventHandler* iHandler; - RProperty iProperty; - }; - - -#endif // __NSMLDSHOSTSESSIONCANCEL_H__