diff -r 000000000000 -r d0791faffa3f backupandrestore/backupengine/inc/sbpackagedatatransfer.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/backupandrestore/backupengine/inc/sbpackagedatatransfer.h Tue Feb 02 01:11:40 2010 +0200 @@ -0,0 +1,180 @@ +/** +* Copyright (c) 2004-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: +* Declaration of CPackageDataTransfer +* +* +*/ + + + +/** + @file +*/ + +#ifndef __PACKAGEDATATRANSFER_H__ +#define __PACKAGEDATATRANSFER_H__ + +// System +#include +#include +#include +#include +#include + +// MContentHandler mix in class +#include + +#include "sbebufferhandler.h" +#include "sbedataownermanager.h" +#include "sbedataowner.h" + +namespace conn + { + using namespace Swi; + // Forwards + class CSnapshotHolder; + + /** Class to store the state of the data owner + @internalComponent + */ + class TPDState + { + public: + TState iState; /*& aExclude, RFileArray& apFileEntries); + TBool IsExcluded(const TBool aIsPublic, const TDesC& aFileName, const RArray& aExclude); + + // Element handlers + void HandleBackupRegistrationL(const RAttributeArray& aAttributes); + void HandlePathL(const TSelectionType aType, const RAttributeArray& aAttributes, const TBool aDir); + + TInt HandlePublicBackup(const RAttributeArray& aAttributes); + TInt HandleSystemBackup(const RAttributeArray& aAttributes); + + private: + TUint8 iGotFileName; /* iFiles; /*