00001 /* -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */ 00002 /* 00003 heraia-errors.h 00004 heraia - an hexadecimal file editor and analyser based on ghex 00005 00006 (C) Copyright 2005 - 2007 Sebastien Tricaud e-mail : toady@gscore.org 00007 (C) Copyright 2005 - 2007 Olivier Delhomme e-mail : heraia@delhomme.org 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, or (at your option) 00012 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ 00022 00023 #ifndef _HERAIA_ERRORS_H_ 00024 #define _HERAIA_ERRORS_H_ 00025 00026 /* this is empty for now, until there should be some errors functions */ 00027 00028 #define HERAIA_NOERR 0 00029 #define HERAIA_MEMORY_ERROR 1 00030 #define HERAIA_NO_PLUGINS 2 00031 #define HERAIA_FILE_ERROR 3 /* We may use errno to have more accurate file 00032 errors */ 00033 #define HERAIA_CANCELLED 4 /* an operation has been cancelled */ 00034 00035 #endif /* _HERAIA_ERRORS_H_ */