testexecmdw/tef/tef/test/regressiontest/logger/inc/tefloggertestactiveobjectwrapper.h
branchRCL_3
changeset 3 9397a16b6eb8
parent 1 6edeef394eb7
--- a/testexecmdw/tef/tef/test/regressiontest/logger/inc/tefloggertestactiveobjectwrapper.h	Fri Sep 03 07:55:01 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,77 +0,0 @@
-/*
-* Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description:  
-* @file
-* This contains CTEFIntegrationTestActiveObjectWrapper
-*
-*/
-
-
-
-/**
- @test
- @internalComponent
-*/
-
-#if (!defined __TEF_LOGGER_TEST_ACTIVE_OBJECT_WRAPPER_H__)
-#define __TEF_LOGGER_TEST_ACTIVE_OBJECT_WRAPPER_H__
-
-
-
-#include "tefloggertestwrapper.h"
-
-class CTEFLoggerTestActiveObjectWrapper : public CTEFLoggerTestWrapper
-	{
-public:
-	CTEFLoggerTestActiveObjectWrapper();
-	
-	static	CTEFLoggerTestActiveObjectWrapper*	NewL();
-
-	virtual TAny*	GetObject() { return iActiveObject; }
-	inline virtual void	SetObjectL(TAny* aObject)
-		{
-		DestroyData();
-		iActiveObject	= static_cast<RTimer*> (aObject);
-		}
-		
-	inline virtual void	DisownObjectL() 
-		{
-		iActiveObject = NULL;
-		}
-
-	void DestroyData()
-		{
-		delete iActiveObject;
-		iActiveObject=NULL;
-		}
-
-	inline virtual TCleanupOperation CleanupOperation()
-		{
-		return CleanupOperation;
-		}
-
-private:
-	void ConstructL();
-
-	static void CleanupOperation(TAny* aAny)
-		{
-		RTimer* timer = static_cast<RTimer*>(aAny);
-		timer->Cancel();
-		timer->Close();
-		delete timer;
-		}
-	};
-
-#endif /* __TEF_LOGGER_TEST_ACTIVE_OBJECT_WRAPPER_H__ */
-