williamr@4: /* williamr@4: * Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). williamr@4: * All rights reserved. williamr@4: * This component and the accompanying materials are made available williamr@4: * under the terms of "Eclipse Public License v1.0" williamr@4: * which accompanies this distribution, and is available williamr@4: * at the URL "http://www.eclipse.org/legal/epl-v10.html". williamr@4: * williamr@4: * Initial Contributors: williamr@4: * Nokia Corporation - initial contribution. williamr@4: * williamr@4: * Contributors: williamr@4: * williamr@4: * Description: williamr@4: * Name : CopyDateFile.h williamr@4: * Declaration for CopyDateFile williamr@4: * Redistribution and use in source and binary forms, with or without williamr@4: * modification, are permitted provided that the following conditions are met: williamr@4: * Redistributions of source code must retain the above copyright notice, this williamr@4: * list of conditions and the following disclaimer. williamr@4: * Redistributions in binary form must reproduce the above copyright notice, williamr@4: * this list of conditions and the following disclaimer in the documentation williamr@4: * and/or other materials provided with the distribution. williamr@4: * Neither the name of the nor the names of its contributors williamr@4: * may be used to endorse or promote products derived from this software williamr@4: * without specific prior written permission. williamr@4: * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" williamr@4: * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE williamr@4: * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE williamr@4: * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE williamr@4: * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL williamr@4: * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR williamr@4: * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER williamr@4: * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, williamr@4: * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE williamr@4: * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. williamr@4: * williamr@4: * williamr@4: */ williamr@4: williamr@4: williamr@4: williamr@4: #ifndef __COPYDATAFILE__H williamr@4: #define __COPYDATAFILE__H williamr@4: williamr@4: #include williamr@4: #include williamr@4: williamr@4: /** williamr@4: Deals with the copying of the data from private to public directories and viceversa. williamr@4: williamr@4: @publishedAll williamr@4: @released williamr@4: */ williamr@4: williamr@4: class CopyDataFile williamr@4: { williamr@4: public: williamr@4: static TInt CopyToPrivateL(TDesC& aFileName); williamr@4: static TInt CopyToPublicL(TDesC& aFileName); williamr@4: williamr@4: protected: williamr@4: williamr@4: private: williamr@4: }; williamr@4: williamr@4: #endif //__COPYDATAFILE__H williamr@4: williamr@4: