javacommons/fileutils/src.s60/filemanager.h
changeset 21 2a9601315dfc
equal deleted inserted replaced
18:e8e63152f320 21:2a9601315dfc
       
     1 /*
       
     2 * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  FileManager - Provides file management facility
       
    15  *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef FILEMANAGER_H
       
    20 #define FILEMANAGER_H
       
    21 
       
    22 // OpenC Includes
       
    23 #include <string>
       
    24 
       
    25 // Symbian Includes
       
    26 #include <f32file.h>
       
    27 
       
    28 #include "javaosheaders.h"
       
    29 
       
    30 namespace java
       
    31 {
       
    32 namespace fileutils
       
    33 {
       
    34 
       
    35 OS_NONSHARABLE_CLASS(FileManager)
       
    36 {
       
    37 public:
       
    38     static bool copy(std::wstring aSource, std::wstring aDest, bool overwrite);
       
    39     static bool move(std::wstring aSource, std::wstring aDest, bool overwrite);
       
    40     static bool copyAll(std::wstring aSource, std::wstring aDest,
       
    41                         bool overwrite);
       
    42     static bool deleteAll(std::wstring aSource);
       
    43 };
       
    44 
       
    45 } //end namespace fileutils
       
    46 } //end namespace java
       
    47 
       
    48 #endif // FILEMANAGER_H