00001 /* 00002 * File: FileModes.h 00003 * Project: DUtils library 00004 * Author: Dorian Galvez 00005 * Date: April 2010 00006 * Description: types used with file managers 00007 * 00008 * This program is free software: you can redistribute it and/or modify 00009 * it under the terms of the GNU Lesser General Public License as published by 00010 * the Free Software Foundation, either version 3 of the License, or 00011 * any later version. 00012 * 00013 * This program is distributed in the hope that it will be useful, 00014 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00016 * GNU Lesser General Public License for more details. 00017 * 00018 * You should have received a copy of the GNU Lesser General Public License 00019 * along with this program. If not, see <http://www.gnu.org/licenses/>. 00020 * 00021 */ 00022 00023 #pragma once 00024 #ifndef __D_FILE_MODES__ 00025 #define __D_FILE_MODES__ 00026 00027 namespace DUtils { 00028 00030 enum FILE_MODES { 00031 READ = 1, 00032 WRITE = 2, 00033 APPEND = 4, 00034 WRITE_APPEND = 6 // == WRITE & APPEND 00035 }; 00036 00037 } 00038 00039 #endif 00040