QOF  0.7.5
qoferror-p.h
1 /********************************************************************
2  * qoferror-p.h
3  *
4  * Sun Sep 10 21:19:25 2006
5  * Copyright 2006 Neil Williams
6  * linux@codehelp.co.uk
7  *******************************************************************/
8 /*
9  * This program is free software; you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License as published by
11  * the Free Software Foundation; either version 2 of the License, or
12  * (at your option) any later version.
13  *
14  * This program is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17  * GNU General Public License for more details.
18  *
19  * You should have received a copy of the GNU General Public License
20  * along with this program; if not, write to the Free Software
21  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22  */
23 
24 #ifndef _QOFERROR_P_H
25 #define _QOFERROR_P_H
26 
27 #ifndef QOF_DISABLE_DEPRECATED
28 /* deprecated code support */
29 #define ERR_LAST 5000
30 void
31 set_deprecated_errors (void);
41 void
42 deprecated_support (QofErrorId id, const gchar * err_message);
43 #endif
44 
45 void
46 qof_error_init (void);
47 
48 void
49 qof_error_close (void);
50 
51 #endif /* _QOFERROR_P_H */