MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame^] | 1 | // MorgenGrauen MUDlib |
| 2 | // |
| 3 | // v_compiler.h -- a general virtual compiler object |
| 4 | // |
| 5 | // $Id: v_compiler.h 6081 2006-10-23 14:12:34Z Zesstra $ |
| 6 | |
| 7 | #ifndef __V_COMPILER_H__ |
| 8 | #define __V_COMPILER_H__ |
| 9 | |
| 10 | #define P_STD_OBJECT "std_object" |
| 11 | #define P_COMPILER_PATH "compiler_path" |
| 12 | |
| 13 | #endif // __V_COMPILER_H__ |
| 14 | |
| 15 | #ifdef NEED_PROTOTYPES |
| 16 | |
| 17 | #ifndef __V_COMPILER_H_PROTO__ |
| 18 | #define __V_COMPILER_H_PROTO__ |
| 19 | |
| 20 | // to validate if the file name is in our range |
| 21 | string Validate(string file); |
| 22 | |
| 23 | // sets costumization data in the cloned object |
| 24 | mixed CustomizeObject(); |
| 25 | |
| 26 | // this functions is called when a file is not found and may be virtual |
| 27 | mixed compile_object(string file); |
| 28 | |
| 29 | // to get all yet cloned (and not cleaned up) objects |
| 30 | mixed QueryObjects(); |
| 31 | |
| 32 | #endif // __V_COMPILER_H_PROTO__ |
| 33 | |
| 34 | #endif //NEED_PROTOTYPES |