messagingappbase/obexmtms/TObexMTM/INC/obexresetpasswordstate.h
changeset 80 8b14b30db193
parent 0 72b543305e3a
equal deleted inserted replaced
79:2981cb3aa489 80:8b14b30db193
       
     1 // Copyright (c) 2002-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 // $Workfile: obexresetpasswordstate.h $
       
    15 // $Author: Stevep $
       
    16 // $Revision: 3 $
       
    17 // $Date: 27/03/02 14:18 $
       
    18 // 
       
    19 //
       
    20 
       
    21 #ifndef __OBEXRESETPASSWORDSTATE_H__
       
    22 #define __OBEXRESETPASSWORDSTATE_H__
       
    23 
       
    24 #include "harness.h"        //MBaseTestState
       
    25 
       
    26 // forward declarations
       
    27 class CObexClientTest;
       
    28 
       
    29 class CObexResetPasswordState : public CBase, public MBaseTestState
       
    30 /**
       
    31 Removes any existing OBEX authentication password from the service entry's message store. The service entry must exist
       
    32 for this state to be succesful. Invoking this state effectively disables OBEX authentication.
       
    33 */
       
    34 	{
       
    35 	public:
       
    36 		/**
       
    37 		Called by the parent to invoke the state. As this function is synchronous, the aStatus member is completed as
       
    38 		the function returns. Will leave with KErrNotFound if the service entry does not exist.
       
    39 
       
    40 		@param aStatus status to be completed when the function returns.
       
    41 		@leave KErrXXX system wide error codes.
       
    42 		@leave KErrNotFound if the service entry does not exist
       
    43 		*/
       
    44 		void StartL(TRequestStatus& aStatus);
       
    45 
       
    46 		/**
       
    47 		C++ constructor.
       
    48 
       
    49 		@param aClientTest the parent CObexClientTest
       
    50 		*/
       
    51 		CObexResetPasswordState(CObexClientTest& aClientTest);
       
    52 
       
    53 	private:
       
    54 		CObexClientTest&	iClientTest;	//<Reference to the parent CObexClientTest object
       
    55 	};
       
    56 
       
    57 #endif //__OBEXRESETPASSWORDSTATE_H__