usbengines/usblocodplugin/tsrc/USBLocodPluginTest/src/LocodBearerPluginObs.cpp
changeset 34 7858bc6ead78
parent 31 dfdd8240f7c8
child 35 9d8b04ca6939
--- a/usbengines/usblocodplugin/tsrc/USBLocodPluginTest/src/LocodBearerPluginObs.cpp	Fri May 14 16:51:51 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,74 +0,0 @@
-/*
-* Copyright (c) 2002 - 2007 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:   ?Description
-*
-*/
-
-
-#include "LocodBearerPluginObs.h"
-
-CLocodBearerPluginObs::CLocodBearerPluginObs( CStifLogger* aLog )
-    {
-    iLog = aLog;
-    }
-
-
-CLocodBearerPluginObs::~CLocodBearerPluginObs()
-    {
-    STIF_LOG( "[STIF_LOG] >>>CLocodBearerPluginObs::~CLocodBearerPluginObs" );
-    
-    if ( iWait -> IsStarted() )
-        iWait -> AsyncStop();
-    delete iWait;
-    iWait = NULL;
-    
-    STIF_LOG( "[STIF_LOG] <<<CLocodBearerPluginObs::~CLocodBearerPluginObs" );
-    }
-
-
-CLocodBearerPluginObs* CLocodBearerPluginObs::NewL( CStifLogger* aLog )
-    {
-    CLocodBearerPluginObs* self = new ( ELeave )CLocodBearerPluginObs( aLog );
-    CleanupStack::PushL( self );
-    self->ConstructL();
-    CleanupStack::Pop( self );
-    return self;
-    }
-
-
-void CLocodBearerPluginObs::ConstructL()
-    {
-    STIF_LOG( "[STIF_LOG] >>>CLocodBearerPluginObs::ConstructL" );   
-    iWait = new ( ELeave )CActiveSchedulerWait();    
-    STIF_LOG( "[STIF_LOG] <<<CLocodBearerPluginObs::ConstructL" );
-    }
-
-
-void CLocodBearerPluginObs::NotifyBearerStatus( TLocodBearer aBearer, TBool aStatus )
-    {
-    STIF_LOG( "[STIF_LOG] >>>CLocodBearerPluginObs::NotifyBearerStatus" );
-    if ( iWait -> IsStarted() )
-        iWait -> AsyncStop();
-    iLocodBearerStatus = aStatus;
-    STIF_LOG( "[STIF_LOG] <<<CLocodBearerPluginObs::NotifyBearerStatus" );
-    }
-
-
-void CLocodBearerPluginObs::ActivateObserver( TBool& aLocodBearerStatus )
-    {
-    STIF_LOG( "[STIF_LOG] >>>CLocodBearerPluginObs::ActivateObserver" ); 
-    iWait -> Start();
-    aLocodBearerStatus = iLocodBearerStatus;
-    STIF_LOG( "[STIF_LOG] <<<CLocodBearerPluginObs::ActivateObserver" );
-    }