Remove error.h
It's not used by anything anymore. Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
This commit is contained in:
parent
bd11a320e3
commit
70254e7aa1
13
DESIGN
13
DESIGN
|
@ -33,19 +33,6 @@ API:
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Errors:
|
|
||||||
This file contains an enum defining error codes used throughout the
|
|
||||||
codebase. Errors will be reported using "throw" and "catch".
|
|
||||||
|
|
||||||
Error Codes:
|
|
||||||
enum error_t {
|
|
||||||
E_AUDIO = 1, /* Audio error */
|
|
||||||
E_EXIST, /* Requested object does not exist */
|
|
||||||
E_INVAL, /* Invalid operation requested */
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Printing:
|
Printing:
|
||||||
Sometimes text needs to be printed to the screen so users (or debuggers)
|
Sometimes text needs to be printed to the screen so users (or debuggers)
|
||||||
can trace what is going on.
|
can trace what is going on.
|
||||||
|
|
|
@ -1,9 +1,7 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2013 (c) Anna Schumaker.
|
* Copyright 2013 (c) Anna Schumaker.
|
||||||
*/
|
*/
|
||||||
#include <core/error.h>
|
|
||||||
#include <core/file.h>
|
#include <core/file.h>
|
||||||
|
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
|
|
||||||
#ifdef CONFIG_TEST
|
#ifdef CONFIG_TEST
|
||||||
|
|
|
@ -1,13 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright 2013 (c) Anna Schumaker.
|
|
||||||
*/
|
|
||||||
#ifndef OCARINA_ERROR_H
|
|
||||||
#define OCARINA_ERROR_H
|
|
||||||
|
|
||||||
enum o_error {
|
|
||||||
E_AUDIO = 1, /* Audio error */
|
|
||||||
E_EXIST, /* Requested object does not exist */
|
|
||||||
E_INVAL, /* Invalid operation requested */
|
|
||||||
};
|
|
||||||
|
|
||||||
#endif /* OCARINA_ERROR_H */
|
|
Loading…
Reference in New Issue