Last change
on this file since 662 was
11,
checked in by arnault, 20 years ago
|
Changing eol-style property
|
-
Property svn:eol-style set to
native
|
File size:
955 bytes
|
Line | |
---|
1 | //----------------------------------------------------------- |
---|
2 | // Copyright Christian Arnault LAL-Orsay CNRS |
---|
3 | // arnault@lal.in2p3.fr |
---|
4 | // See the complete license in cmt_license.txt "http://www.cecill.info". |
---|
5 | //----------------------------------------------------------- |
---|
6 | |
---|
7 | #ifndef __cmt_script_h__ |
---|
8 | #define __cmt_script_h__ |
---|
9 | |
---|
10 | #include "cmt_parser.h" |
---|
11 | #include "cmt_system.h" |
---|
12 | |
---|
13 | class Script |
---|
14 | { |
---|
15 | public: |
---|
16 | typedef cmt_vector<Script> ScriptVector; |
---|
17 | |
---|
18 | static void action (const CmtSystem::cmt_string_vector& words, |
---|
19 | ScriptType type, |
---|
20 | Use* use); |
---|
21 | static Script* find (const cmt_string& name, Use* use); |
---|
22 | static Script* add (const cmt_string& name, ScriptType type, Use* use); |
---|
23 | static void all_print_clean (PrintMode mode); |
---|
24 | static void all_print (PrintMode mode); |
---|
25 | static void clear_all (); |
---|
26 | |
---|
27 | public: |
---|
28 | Script (); |
---|
29 | ~Script (); |
---|
30 | int print (PrintMode mode, const Use* use); |
---|
31 | |
---|
32 | cmt_string name; |
---|
33 | ScriptType type; |
---|
34 | }; |
---|
35 | |
---|
36 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.