persistentstorage/sql/SRC/Server/SqlSrvBurInterface.h
changeset 51 7d4490026038
parent 0 08ec8eefde2f
equal deleted inserted replaced
40:b8bdbc8f59c7 51:7d4490026038
     1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of "Eclipse Public License v1.0"
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
    18 
    18 
    19 #include <f32file.h>
    19 #include <f32file.h>
    20 
    20 
    21 /**
    21 /**
    22 MSqlSrvBurInterface is needed for performing "Backup&Restore" actions on secure SQL databases.
    22 MSqlSrvBurInterface is needed for performing "Backup&Restore" actions on secure SQL databases.
       
    23 It is used for retrieving from the SQL server a list with database names, located on a specific drive and
       
    24 owned by a client with specific TSecureId id.
       
    25 The returned list contains the full database names, including the path. 
       
    26 
       
    27 @see CSqlServer::GetBackUpListL()
    23 
    28 
    24 @internalComponent
    29 @internalComponent
    25 */
    30 */
    26 class MSqlSrvBurInterface
    31 class MSqlSrvBurInterface
    27 	{
    32 	{
    28 public:		
    33 public:		
    29 	virtual RFs& Fs() = 0;
    34 	virtual RFs& Fs() = 0;
    30 	virtual void GetBackUpListL(TSecureId aUid, RArray<TParse>& aFileList) = 0;
    35 	virtual void GetBackUpListL(TSecureId aUid, TDriveNumber aDrive, RArray<HBufC*>& aFileNameList) = 0;
    31 	};
    36 	};
    32 
    37 
    33 #endif//__SQLSRVBURINTERFACE_H__
    38 #endif//__SQLSRVBURINTERFACE_H__