00001 // 00002 // aegis - project change supervisor 00003 // Copyright (C) 1991-1994, 1996, 2002, 2004-2008 Peter Miller 00004 // 00005 // This program is free software; you can redistribute it and/or modify 00006 // it under the terms of the GNU General Public License as published by 00007 // the Free Software Foundation; either version 3 of the License, or 00008 // (at your option) any later version. 00009 // 00010 // This program is distributed in the hope that it will be useful, 00011 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 // GNU General Public License for more details. 00014 // 00015 // You should have received a copy of the GNU General Public License 00016 // along with this program. If not, see 00017 // <http://www.gnu.org/licenses/>. 00018 // 00019 00020 #ifndef AEGIS_LOG_H 00021 #define AEGIS_LOG_H 00022 00023 #include <libaegis/quit/action/log.h> 00024 #include <libaegis/user.h> 00025 00026 enum log_style_ty 00027 { 00028 log_style_append, 00029 log_style_append_default, 00030 log_style_create, 00031 log_style_create_default, 00032 log_style_none, 00033 log_style_none_default, 00034 log_style_snuggle, 00035 log_style_snuggle_default 00036 }; 00037 00038 class string_ty; // forward 00039 00040 void log_open(string_ty *, user_ty::pointer, log_style_ty); 00041 void log_close(void); 00042 extern quit_action_log log_quitter; 00043 00044 #endif // AEGIS_LOG_H