-
Notifications
You must be signed in to change notification settings - Fork 0
/
definations.h
78 lines (61 loc) · 2.1 KB
/
definations.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
/*
definations.h
Define some types, stuctures and macros.
[English]
Copyright (C) <2023> <South Craft>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License, version 3 as
published by the Free Software Foundation.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License, version 3 for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
Send an email to the following email address if you want to contact
[Chinese]
注:如果中文版本与英文版本有出入,以英文版本为准
definations.h 定义了一些类型、结构体和宏
版权所有(C)<2023> <South Craft>
本程序为自由软件,在自由软件联盟发布的GNU通用公共许可协议的约束下,你可以对其进行
再发布及修改。协议版本为第三版。
我们希望发布的这款程序有用,但不保证,甚至不保证它有经济价值和适合特定用途。详情
参见GNU通用公共许可协议。
你理当已收到一份GNU通用公共许可协议的副本,如果没有,请访问
<http://www.gnu.org/licenses/>
联系方式:[Gmail] [email protected]
Completed in GMT+8 Jan 4th, 2023, 11:52 AM
*/
#ifndef SC3CHF_DEFS
#define SC3CHF_DEFS
#include "def\basic_types.h"
#include "def\structure.h"
#include "def\macros.h"
/*
enum StatusCode{
OK = 0,
InvaildArg,
NoDirFile,
OpenPNGFailed,
OpenZipFailed,
CreateFile,
WrongNumChannel,
WriteJson
};
*/
//enum StatusCode _scode;
/*
enum {
normal = 0,
out_of_memory,
open_temp_file_failure,
open_source_file_failure,
open_dst_file_failure,
decode_png_failure,
create_temp_file_failure,
bad_arg,
get_cur_file_info_failure
} error_code;
*/
#endif