libspectre
0.2.8
libspectre
spectre-status.h
Go to the documentation of this file.
1
/* This file is part of Libspectre.
2
*
3
* Copyright (C) 2007 Albert Astals Cid <aacid@kde.org>
4
* Copyright (C) 2007 Carlos Garcia Campos <carlosgc@gnome.org>
5
*
6
* Libspectre is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation; either version 2, or (at your option)
9
* any later version.
10
*
11
* Libspectre is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
15
*
16
* You should have received a copy of the GNU General Public License
17
* along with this program; if not, write to the Free Software
18
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19
*/
20
21
#ifndef SPECTRE_STATUS_H
22
#define SPECTRE_STATUS_H
23
24
#include <libspectre/spectre-macros.h>
25
26
SPECTRE_BEGIN_DECLS
27
29
typedef
enum
_SpectreStatus
{
30
SPECTRE_STATUS_SUCCESS
= 0,
31
SPECTRE_STATUS_NO_MEMORY
,
33
SPECTRE_STATUS_LOAD_ERROR
,
35
SPECTRE_STATUS_DOCUMENT_NOT_LOADED
,
40
SPECTRE_STATUS_INVALID_PAGE
,
43
SPECTRE_STATUS_RENDER_ERROR
,
45
SPECTRE_STATUS_EXPORTER_ERROR
,
47
SPECTRE_STATUS_SAVE_ERROR
49
}
SpectreStatus
;
50
54
const
char
*
spectre_status_to_string
(
SpectreStatus
status);
55
56
SPECTRE_END_DECLS
57
58
#endif
/* SPECTRE_STATUS_H */
SPECTRE_STATUS_EXPORTER_ERROR
Definition:
spectre-status.h:45
SPECTRE_STATUS_RENDER_ERROR
Definition:
spectre-status.h:43
SPECTRE_STATUS_DOCUMENT_NOT_LOADED
Definition:
spectre-status.h:35
SPECTRE_STATUS_SAVE_ERROR
Definition:
spectre-status.h:47
SPECTRE_STATUS_LOAD_ERROR
Definition:
spectre-status.h:33
SpectreStatus
enum _SpectreStatus SpectreStatus
SPECTRE_STATUS_INVALID_PAGE
Definition:
spectre-status.h:40
SPECTRE_STATUS_NO_MEMORY
Definition:
spectre-status.h:31
spectre_status_to_string
const char * spectre_status_to_string(SpectreStatus status)
Definition:
spectre-status.c:24
SPECTRE_STATUS_SUCCESS
Definition:
spectre-status.h:30
_SpectreStatus
_SpectreStatus
Definition:
spectre-status.h:29
Generated by
1.8.16