00001 /* 00002 * Copyright 2008, 2009 Alexandros Frantzis, Michael Iatrou 00003 * 00004 * This file is part of libbls. 00005 * 00006 * libbls is free software: you can redistribute it and/or modify it under the 00007 * terms of the GNU Lesser General Public License as published by the Free Software 00008 * Foundation, either version 3 of the License, or (at your option) any later 00009 * version. 00010 * 00011 * libbls is distributed in the hope that it will be useful, but WITHOUT ANY 00012 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 00013 * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more 00014 * details. 00015 * 00016 * You should have received a copy of the GNU General Public License along with 00017 * libbls. If not, see <http://www.gnu.org/licenses/>. 00018 */ 00019 00020 /** 00021 * @file buffer_options.h 00022 * 00023 * Buffer options 00024 */ 00025 #ifndef _BLESS_BUFFER_OPTIONS_H 00026 #define _BLESS_BUFFER_OPTIONS_H 00027 00028 #ifdef __cplusplus 00029 extern "C" { 00030 #endif 00031 00032 /** Buffer options */ 00033 typedef enum { 00034 BLESS_BUF_TMP_DIR, /**< The directory to use for saving temporary files */ 00035 BLESS_BUF_UNDO_LIMIT, /**< The maximum number of actions that can be undone */ 00036 BLESS_BUF_UNDO_AFTER_SAVE, /**< Whether to support undo after having saved */ 00037 BLESS_BUF_SENTINEL 00038 } bless_buffer_option_t; 00039 00040 #ifdef __cplusplus 00041 } 00042 #endif 00043 00044 #endif /* _BLESS_BUFFER_OPTIONS_H */ 00045