PageRenderTime 17ms CodeModel.GetById 10ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 1ms

/xbmc/visualizations/XBMCProjectM/libprojectM/fatal.h

http://github.com/xbmc/xbmc
C++ Header | 43 lines | 10 code | 5 blank | 28 comment | 0 complexity | 8d6f6a32e780d40942ba49a89c0c1dcc MD5 | raw file
 1/**
 2 * projectM -- Milkdrop-esque visualisation SDK
 3 * Copyright (C)2003-2007 projectM Team
 4 *
 5 * This library is free software; you can redistribute it and/or
 6 * modify it under the terms of the GNU Lesser General Public
 7 * License as published by the Free Software Foundation; either
 8 * version 2.1 of the License, or (at your option) any later version.
 9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13 * Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
18 * See 'LICENSE.txt' included within this release
19 *
20 */
21/**
22 * $Id: fatal.h,v 1.1.1.1 2005/12/23 18:05:05 psperl Exp $
23 *
24 * Error codes
25 *
26 * $Log$
27 */
28
29#ifndef _FATAL_H
30#define _FATAL_H
31
32/* Fatal Error Definitions */
33
34#define PROJECTM_OUTOFMEM_ERROR -7; /* out of memory */
35#define PROJECTM_ERROR -1 /* non specific error */
36#define PROJECTM_SUCCESS 1
37#define PROJECTM_FAILURE -1
38#define PROJECTM_PARSE_ERROR -11
39#define PROJECTM_DIV_BY_ZERO -3
40#define PROJECTM_OK 2
41
42#endif /** !_FATAL_H */
43