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