epoc32/include/mw/copydatafile.h
branchSymbian3
changeset 4 837f303aceeb
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/epoc32/include/mw/copydatafile.h	Wed Mar 31 12:33:34 2010 +0100
     1.3 @@ -0,0 +1,69 @@
     1.4 +/*
     1.5 +* Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.6 +* All rights reserved.
     1.7 +* This component and the accompanying materials are made available
     1.8 +* under the terms of "Eclipse Public License v1.0"
     1.9 +* which accompanies this distribution, and is available
    1.10 +* at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.11 +*
    1.12 +* Initial Contributors:
    1.13 +* Nokia Corporation - initial contribution.
    1.14 +*
    1.15 +* Contributors:
    1.16 +*
    1.17 +* Description:
    1.18 +* Name        : CopyDateFile.h
    1.19 +* Declaration for CopyDateFile
    1.20 +* Redistribution and use in source and binary forms, with or without 
    1.21 +* modification, are permitted provided that the following conditions are met:
    1.22 +* Redistributions of source code must retain the above copyright notice, this 
    1.23 +* list of conditions and the following disclaimer. 
    1.24 +* Redistributions in binary form must reproduce the above copyright notice, 
    1.25 +* this list of conditions and the following disclaimer in the documentation 
    1.26 +* and/or other materials provided with the distribution. 
    1.27 +* Neither the name of the <ORGANIZATION> nor the names of its contributors 
    1.28 +* may be used to endorse or promote products derived from this software 
    1.29 +* without specific prior written permission. 
    1.30 +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 
    1.31 +* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
    1.32 +* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
    1.33 +* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
    1.34 +* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 
    1.35 +* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 
    1.36 +* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 
    1.37 +* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
    1.38 +* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 
    1.39 +* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    1.40 +* 
    1.41 +*
    1.42 +*/
    1.43 +
    1.44 +
    1.45 +
    1.46 +#ifndef __COPYDATAFILE__H
    1.47 +#define __COPYDATAFILE__H
    1.48 +
    1.49 +#include <f32file.h>
    1.50 +#include <e32std.h>
    1.51 +
    1.52 +/**
    1.53 +Deals with the copying of the data from private to public directories and viceversa.
    1.54 +
    1.55 +@publishedAll
    1.56 +@released 
    1.57 +*/
    1.58 +
    1.59 +class CopyDataFile
    1.60 +{
    1.61 +public:
    1.62 +	static TInt CopyToPrivateL(TDesC& aFileName);
    1.63 +	static TInt CopyToPublicL(TDesC& aFileName);
    1.64 +	
    1.65 +protected:
    1.66 +
    1.67 +private:
    1.68 +};
    1.69 +
    1.70 +#endif //__COPYDATAFILE__H
    1.71 +
    1.72 +