00001 /******************************************************************** 00002 * qoferror-p.h 00003 * 00004 * Sun Sep 10 21:19:25 2006 00005 * Copyright 2006 Neil Williams 00006 * linux@codehelp.co.uk 00007 *******************************************************************/ 00008 /* 00009 * This program is free software; you can redistribute it and/or modify 00010 * it under the terms of the GNU General Public License as published by 00011 * the Free Software Foundation; either version 2 of the License, or 00012 * (at your option) any later version. 00013 * 00014 * This program is distributed in the hope that it will be useful, 00015 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00016 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00017 * GNU General Public License for more details. 00018 * 00019 * You should have received a copy of the GNU General Public License 00020 * along with this program; if not, write to the Free Software 00021 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 00022 */ 00023 00024 #ifndef _QOFERROR_P_H 00025 #define _QOFERROR_P_H 00026 00027 #ifndef QOF_DISABLE_DEPRECATED 00028 /* deprecated code support */ 00029 #define ERR_LAST 5000 00030 void 00031 set_deprecated_errors (void); 00041 void 00042 deprecated_support (QofErrorId id, const gchar * err_message); 00043 #endif 00044 00045 void 00046 qof_error_init (void); 00047 00048 void 00049 qof_error_close (void); 00050 00051 #endif /* _QOFERROR_P_H */