persistentstorage/sql/TEST/t_dummyabclient.cpp
changeset 0 08ec8eefde2f
child 51 7d4490026038
equal deleted inserted replaced
-1:000000000000 0:08ec8eefde2f
       
     1 // Copyright (c) 2006-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 // Dummy implementation of CActiveBackupClient class.
       
    15 // 
       
    16 //
       
    17 
       
    18 #include "connect/abclient.h"
       
    19 
       
    20 namespace conn
       
    21 	{
       
    22 
       
    23 	CActiveBackupClient::CActiveBackupClient() : iClientSession(NULL), iABCallbackHandler(NULL)
       
    24 		{
       
    25 		}
       
    26 
       
    27 
       
    28 	EXPORT_C CActiveBackupClient* CActiveBackupClient::NewL()
       
    29 		{
       
    30 		CActiveBackupClient* self = new (ELeave) CActiveBackupClient();
       
    31 		CleanupStack::PushL(self);
       
    32 		self->ConstructL();
       
    33 		CleanupStack::Pop(self);
       
    34 		return self;
       
    35 		}
       
    36 
       
    37 	EXPORT_C CActiveBackupClient* CActiveBackupClient::NewL(MActiveBackupDataClient* aClient)
       
    38 		{
       
    39 		CActiveBackupClient* self = new (ELeave) CActiveBackupClient();
       
    40 		CleanupStack::PushL(self);
       
    41 		self->ConstructL(aClient);
       
    42 		CleanupStack::Pop(self);
       
    43 		return self;
       
    44 		}
       
    45 
       
    46 	void CActiveBackupClient::ConstructL()
       
    47 		{
       
    48 		}
       
    49 
       
    50 	void CActiveBackupClient::ConstructL(MActiveBackupDataClient* /*aClient*/)
       
    51 		{
       
    52 		ConstructL();
       
    53 		}
       
    54 
       
    55 
       
    56 	EXPORT_C CActiveBackupClient::~CActiveBackupClient()
       
    57 		{
       
    58 		}
       
    59 
       
    60     EXPORT_C void CActiveBackupClient::BURModeInfoL(TDriveList& /*aDriveList*/,
       
    61     		TBURPartType& /*aBackupType*/, TBackupIncType& /*aIncBackupType*/)
       
    62 		{
       
    63 		}
       
    64 
       
    65 
       
    66     EXPORT_C TBool CActiveBackupClient::DoesPartialBURAffectMeL()
       
    67 		{
       
    68 		return ETrue;
       
    69 		}
       
    70 
       
    71 
       
    72     EXPORT_C void CActiveBackupClient::ConfirmReadyForBURL(TInt /*aErrorCode*/)
       
    73 		{
       
    74 		}
       
    75 
       
    76 	} // end of conn namespace