grim/gplate

some more testing migration stuff.

2012-09-04, Gary Kramlich
7f8e0e4f250f
some more testing migration stuff.
Variables aren't done yet
/*
* GPlate - GObject based templating library
* Copyright (C) 2007-2012 Gary Kramlich <grim@reaperworld.com>
*
* This library is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this library. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef GPLATE_ERRORS_H
#define GPLATE_ERRORS_H
#include <glib.h>
#define GPLATE_DOMAIN (gplate_errors_get_quark())
typedef enum {
GPLATE_ERROR_TYPE_IS_NOT_DESCENDANT = 100,
GPLATE_ERROR_TYPE_IS_ABSTRACT,
GPLATE_ERROR_UTIL_FILE_DOES_NOT_EXIST = 200,
GPLATE_ERROR_LIBRARY_FUNCTION_NAME_EXISTS = 300,
GPLATE_ERROR_LIBRARY_FUNCTION_NAME_NOT_FOUND,
GPLATE_ERROR_LIBRARY_FUNCTION_BOUND,
GPLATE_ERROR_LIBRARY_FUNCTION_NOT_BOUND,
GPLATE_ERROR_LIBRARY_FUNCTION_NOT_BOUND_TO_TAG,
GPLATE_ERROR_LIBRARY_TAG_EXISTS = 350,
GPLATE_ERROR_LIBRARY_TAG_NOT_FOUND,
GPLATE_ERROR_LIBRARY_TAG_NO_PREFIX_HAVE_SUFFIX,
GPLATE_ERROR_LIBRARY_TAG_HAVE_PREFIX_NO_SUFFIX,
GPLATE_ERROR_LIBRARY_DEFAULT_TAG_REGISTERED = 360,
GPLATE_ERROR_UNKNOWN = 1 << 31,
} GPlateErrors;
G_BEGIN_DECLS
GQuark gplate_errors_get_quark(void);
G_END_DECLS
#endif /* GPLATE_ERRORS_H */