epoc32/include/mw/copydatafile.h
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:33:34 +0100
branchSymbian3
changeset 4 837f303aceeb
permissions -rw-r--r--
Current Symbian^3 public API header files (from PDK 3.0.h)
This is the epoc32/include tree with the "platform" subtrees removed, and
all but a selected few mbg and rsg files removed.
williamr@4
     1
/*
williamr@4
     2
* Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
williamr@4
     3
* All rights reserved.
williamr@4
     4
* This component and the accompanying materials are made available
williamr@4
     5
* under the terms of "Eclipse Public License v1.0"
williamr@4
     6
* which accompanies this distribution, and is available
williamr@4
     7
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
williamr@4
     8
*
williamr@4
     9
* Initial Contributors:
williamr@4
    10
* Nokia Corporation - initial contribution.
williamr@4
    11
*
williamr@4
    12
* Contributors:
williamr@4
    13
*
williamr@4
    14
* Description:
williamr@4
    15
* Name        : CopyDateFile.h
williamr@4
    16
* Declaration for CopyDateFile
williamr@4
    17
* Redistribution and use in source and binary forms, with or without 
williamr@4
    18
* modification, are permitted provided that the following conditions are met:
williamr@4
    19
* Redistributions of source code must retain the above copyright notice, this 
williamr@4
    20
* list of conditions and the following disclaimer. 
williamr@4
    21
* Redistributions in binary form must reproduce the above copyright notice, 
williamr@4
    22
* this list of conditions and the following disclaimer in the documentation 
williamr@4
    23
* and/or other materials provided with the distribution. 
williamr@4
    24
* Neither the name of the <ORGANIZATION> nor the names of its contributors 
williamr@4
    25
* may be used to endorse or promote products derived from this software 
williamr@4
    26
* without specific prior written permission. 
williamr@4
    27
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 
williamr@4
    28
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
williamr@4
    29
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
williamr@4
    30
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
williamr@4
    31
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 
williamr@4
    32
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 
williamr@4
    33
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 
williamr@4
    34
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
williamr@4
    35
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 
williamr@4
    36
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
williamr@4
    37
* 
williamr@4
    38
*
williamr@4
    39
*/
williamr@4
    40
williamr@4
    41
williamr@4
    42
williamr@4
    43
#ifndef __COPYDATAFILE__H
williamr@4
    44
#define __COPYDATAFILE__H
williamr@4
    45
williamr@4
    46
#include <f32file.h>
williamr@4
    47
#include <e32std.h>
williamr@4
    48
williamr@4
    49
/**
williamr@4
    50
Deals with the copying of the data from private to public directories and viceversa.
williamr@4
    51
williamr@4
    52
@publishedAll
williamr@4
    53
@released 
williamr@4
    54
*/
williamr@4
    55
williamr@4
    56
class CopyDataFile
williamr@4
    57
{
williamr@4
    58
public:
williamr@4
    59
	static TInt CopyToPrivateL(TDesC& aFileName);
williamr@4
    60
	static TInt CopyToPublicL(TDesC& aFileName);
williamr@4
    61
	
williamr@4
    62
protected:
williamr@4
    63
williamr@4
    64
private:
williamr@4
    65
};
williamr@4
    66
williamr@4
    67
#endif //__COPYDATAFILE__H
williamr@4
    68
williamr@4
    69