Remove error.h

It's not used by anything anymore.

Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
This commit is contained in:
Anna Schumaker 2014-06-06 09:40:01 -04:00
parent bd11a320e3
commit 70254e7aa1
3 changed files with 0 additions and 28 deletions

13
DESIGN
View File

@ -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.

View File

@ -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

View File

@ -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 */