diff options
Diffstat (limited to 'glabels2/libglabels/enums.h')
-rw-r--r-- | glabels2/libglabels/enums.h | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/glabels2/libglabels/enums.h b/glabels2/libglabels/enums.h new file mode 100644 index 0000000..d139dc2 --- /dev/null +++ b/glabels2/libglabels/enums.h @@ -0,0 +1,49 @@ +/* + * (LIBGLABELS) Template library for GLABELS + * + * enums.h: common libGLabels enumerations header file + * + * Copyright (C) 2003, 2004 Jim Evins <evins@snaught.com>. + * + * This file is part of the LIBGLABELS library. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 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 + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the Free + * Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, + * MA 02111-1307, USA + */ + +#ifndef __ENUMS_H__ +#define __ENUMS_H__ + +#include <glib.h> + +G_BEGIN_DECLS + +/* Units of distance */ +typedef enum { + LGL_UNITS_POINT, /* encoded as "pt" */ + LGL_UNITS_INCH, /* encoded as "in" */ + LGL_UNITS_MM, /* encoded as "mm" */ + LGL_UNITS_CM, /* encoded as "cm" */ + LGL_UNITS_PICA, /* encoded as "pc" */ + + LGL_UNITS_FIRST = LGL_UNITS_POINT, + LGL_UNITS_LAST = LGL_UNITS_PICA, +} lglUnitsType; + + +G_END_DECLS + + +#endif /* __ENUMS_H__ */ |