source: CMT/v1r12p20020606/src/cmt_script.h @ 1

Last change on this file since 1 was 1, checked in by arnault, 19 years ago

Import all tags

File size: 716 bytes
Line 
1#ifndef __cmt_script_h__
2#define __cmt_script_h__
3
4#include "cmt_parser.h"
5#include "cmt_system.h"
6
7class Script
8{
9public:
10  typedef cmt_vector<Script> ScriptVector;
11
12  static void action (const CmtSystem::cmt_string_vector& words,
13                      ScriptType type,
14                      Use* use);
15  static Script* find (const cmt_string& name, Use* use);
16  static Script* add (const cmt_string& name, ScriptType type, Use* use);
17  static void all_print_clean (PrintMode mode);
18  static void all_print (PrintMode mode);
19  static void clear_all ();
20
21public:
22  Script ();
23  ~Script ();
24  int print (PrintMode mode, const Use* use);
25
26  cmt_string name;
27  ScriptType type;
28};
29
30#endif
Note: See TracBrowser for help on using the repository browser.