annotate scn2k/scn2k.h @ 56:c7bcc0ec2267

* replaced Grp and Text classes by the TextImpl and GrpImpl ones * splitted scn2k.h into smaller header files * moved some definitions from scn2k_*.cc to the header files * moved opcode implementation to scn2k_*impl.cc
author thib
date Thu, 30 Apr 2009 19:05:09 +0000
parents f1a27ee7e03c
children 4416cfac86ae
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
33
f1fbe5b37a1e * Added license headers/informations
thib
parents: 29
diff changeset
1 /*
f1fbe5b37a1e * Added license headers/informations
thib
parents: 29
diff changeset
2 * Copyright (c) 2004-2006 Kazunori "jagarl" Ueno
f1fbe5b37a1e * Added license headers/informations
thib
parents: 29
diff changeset
3 * All rights reserved.
f1fbe5b37a1e * Added license headers/informations
thib
parents: 29
diff changeset
4 *
f1fbe5b37a1e * Added license headers/informations
thib
parents: 29
diff changeset
5 * Redistribution and use in source and binary forms, with or without
f1fbe5b37a1e * Added license headers/informations
thib
parents: 29
diff changeset
6 * modification, are permitted provided that the following conditions
f1fbe5b37a1e * Added license headers/informations
thib
parents: 29
diff changeset
7 * are met:
f1fbe5b37a1e * Added license headers/informations
thib
parents: 29
diff changeset
8 * 1. Redistributions of source code must retain the above copyright
f1fbe5b37a1e * Added license headers/informations
thib
parents: 29
diff changeset
9 * notice, this list of conditions and the following disclaimer.
f1fbe5b37a1e * Added license headers/informations
thib
parents: 29
diff changeset
10 * 2. Redistributions in binary form must reproduce the above copyright
f1fbe5b37a1e * Added license headers/informations
thib
parents: 29
diff changeset
11 * notice, this list of conditions and the following disclaimer in the
f1fbe5b37a1e * Added license headers/informations
thib
parents: 29
diff changeset
12 * documentation and/or other materials provided with the distribution.
f1fbe5b37a1e * Added license headers/informations
thib
parents: 29
diff changeset
13 * 3. The name of the author may not be used to endorse or promote products
f1fbe5b37a1e * Added license headers/informations
thib
parents: 29
diff changeset
14 * derived from this software without specific prior written permission.
f1fbe5b37a1e * Added license headers/informations
thib
parents: 29
diff changeset
15 *
f1fbe5b37a1e * Added license headers/informations
thib
parents: 29
diff changeset
16 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
f1fbe5b37a1e * Added license headers/informations
thib
parents: 29
diff changeset
17 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
f1fbe5b37a1e * Added license headers/informations
thib
parents: 29
diff changeset
18 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
f1fbe5b37a1e * Added license headers/informations
thib
parents: 29
diff changeset
19 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
f1fbe5b37a1e * Added license headers/informations
thib
parents: 29
diff changeset
20 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
f1fbe5b37a1e * Added license headers/informations
thib
parents: 29
diff changeset
21 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
f1fbe5b37a1e * Added license headers/informations
thib
parents: 29
diff changeset
22 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
f1fbe5b37a1e * Added license headers/informations
thib
parents: 29
diff changeset
23 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
f1fbe5b37a1e * Added license headers/informations
thib
parents: 29
diff changeset
24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
f1fbe5b37a1e * Added license headers/informations
thib
parents: 29
diff changeset
25 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
f1fbe5b37a1e * Added license headers/informations
thib
parents: 29
diff changeset
26 */
f1fbe5b37a1e * Added license headers/informations
thib
parents: 29
diff changeset
27
0
223b71206888 Initial import
thib
parents:
diff changeset
28 #ifndef __SCN2k_H__
223b71206888 Initial import
thib
parents:
diff changeset
29 #define __SCN2k_H__
223b71206888 Initial import
thib
parents:
diff changeset
30
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 33
diff changeset
31 #include <vector>
15a18fbe6f21 * Known bugs added to the README
thib
parents: 33
diff changeset
32 #include <string>
15a18fbe6f21 * Known bugs added to the README
thib
parents: 33
diff changeset
33 #include <map>
15a18fbe6f21 * Known bugs added to the README
thib
parents: 33
diff changeset
34 #include <set>
0
223b71206888 Initial import
thib
parents:
diff changeset
35
56
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
36 #include "scn2k_cmd.h"
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
37 #include "scn2k_grp.h"
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
38 #include "scn2k_text.h"
c7bcc0ec2267 * replaced Grp and Text classes by the TextImpl and GrpImpl ones
thib
parents: 55
diff changeset
39
0
223b71206888 Initial import
thib
parents:
diff changeset
40 /*
223b71206888 Initial import
thib
parents:
diff changeset
41 namespace Widget {
223b71206888 Initial import
thib
parents:
diff changeset
42 class Text;
223b71206888 Initial import
thib
parents:
diff changeset
43 class Button;
223b71206888 Initial import
thib
parents:
diff changeset
44 class TextButton;
223b71206888 Initial import
thib
parents:
diff changeset
45 class Label;
223b71206888 Initial import
thib
parents:
diff changeset
46 class Dialog;
223b71206888 Initial import
thib
parents:
diff changeset
47 class AnmTime;
223b71206888 Initial import
thib
parents:
diff changeset
48 }
223b71206888 Initial import
thib
parents:
diff changeset
49 */
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 33
diff changeset
50 class WidText;
15a18fbe6f21 * Known bugs added to the README
thib
parents: 33
diff changeset
51 class WidButton;
15a18fbe6f21 * Known bugs added to the README
thib
parents: 33
diff changeset
52 class WidTextButton;
15a18fbe6f21 * Known bugs added to the README
thib
parents: 33
diff changeset
53 class WidLabel;
15a18fbe6f21 * Known bugs added to the README
thib
parents: 33
diff changeset
54 class WidDialog;
15a18fbe6f21 * Known bugs added to the README
thib
parents: 33
diff changeset
55 class WidAnmTime;
15a18fbe6f21 * Known bugs added to the README
thib
parents: 33
diff changeset
56
0
223b71206888 Initial import
thib
parents:
diff changeset
57 namespace Event {
223b71206888 Initial import
thib
parents:
diff changeset
58 class Container;
223b71206888 Initial import
thib
parents:
diff changeset
59 }
52
15a18fbe6f21 * Known bugs added to the README
thib
parents: 33
diff changeset
60
0
223b71206888 Initial import
thib
parents:
diff changeset
61 class PicBase;
223b71206888 Initial import
thib
parents:
diff changeset
62 class PicContainer;
223b71206888 Initial import
thib
parents:
diff changeset
63 class AyuSysConfig;
223b71206888 Initial import
thib
parents:
diff changeset
64 class Surface;
223b71206888 Initial import
thib
parents:
diff changeset
65
223b71206888 Initial import
thib
parents:
diff changeset
66 void dprintf(const char* fmt, ...); // debug 用
223b71206888 Initial import
thib
parents:
diff changeset
67 void eprintf(const char* fmt, ...); // コマンド実行(XXXexec)追跡用
223b71206888 Initial import
thib
parents:
diff changeset
68 #endif