1 /*---------------------------------------------------------------------------*
2   Project:  Revolution THP Core/Utilities Libraries
3   File:     thpcommon.h
4 
5   Copyright (C)2003-2006 Nintendo  All Rights Reserved.
6 
7   These coded instructions, statements, and computer programs contain
8   proprietary information of Nintendo of America Inc. and/or Nintendo
9   Company Ltd., and are protected by Federal copyright law.  They may
10   not be disclosed to third parties or copied or duplicated in any form,
11   in whole or in part, without the prior written consent of Nintendo.
12 
13   $Log: thpcommon.h,v $
14   Revision 1.1  02/08/2006 02:52:42  aka
15   Imported from Dolphin Tree.
16 
17 
18     3     03/09/15 5:51p Akagi
19     Added THP_ERROR_THPFILE, THP_ERROR_JPEGFILE and THP_ERROR_DATA.
20     Removed THP_ERROR_FILEFORMAT.
21 
22     2     03/09/15 1:29p Akagi
23     Changed THP_ERROR_XXX from define to enum.
24 
25     1     03/07/01 3:10p Akagi
26     Initial check-in. Modified to divide old THPConv.exe into 2 LIBs and 1
27     EXE by Ohki-san@NTSC.
28 
29   $NoKeywords: $
30 
31  *---------------------------------------------------------------------------*/
32 
33 #ifndef __THPCOMMON_H__
34 #define __THPCOMMON_H__
35 
36 #ifdef __cplusplus
37 extern "C" {
38 #endif
39 
40 // error
41 enum
42 {
43     THP_ERROR_NOERROR =  0,
44     THP_ERROR_FILEIO,
45     THP_ERROR_THPFILE,
46     THP_ERROR_JPEGFILE,
47     THP_ERROR_DATA,
48     THP_ERROR_FATAL,
49 
50     NUM_THP_ERRORS
51 };
52 
53 #ifdef __cplusplus
54 }
55 #endif
56 
57 #endif // __THPCOMMON_H__
58