Changeset 52 for sources/src/global_functions.h
- Timestamp:
- Jan 22, 2013, 4:23:22 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sources/src/global_functions.h
r27 r52 1 1 /*------------------------------------------------------------\ 2 | |3 | Tool : systemcass |4 | |5 | File : global_functions.h |6 | |7 | Author : Buchmann Richard |8 | |9 | Date : 09_07_2004 |10 | |11 \------------------------------------------------------------*/2 | | 3 | Tool : systemcass | 4 | | 5 | File : global_functions.h | 6 | | 7 | Author : Buchmann Richard | 8 | | 9 | Date : 09_07_2004 | 10 | | 11 \------------------------------------------------------------*/ 12 12 #ifndef __GLOBAL_FUNCTIONS_H__ 13 13 #define __GLOBAL_FUNCTIONS_H__ … … 23 23 enum sc_stop_mode 24 24 { 25 SC_STOP_FINISH_DELTA,26 SC_STOP_IMMEDIATE25 SC_STOP_FINISH_DELTA, 26 SC_STOP_IMMEDIATE 27 27 }; 28 29 28 ///////////////////////// 30 29 31 32 extern int main(int argc, char *argv[]); 30 extern int main(int argc, char * argv[]); 33 31 34 32 extern void sc_initialize(void); 35 33 36 //extern void next_cycle(void); 37 extern void sc_start (double d_val) __attribute__((deprecated)); 38 extern void sc_start (); 39 extern void sc_start ( const sc_time& duration ); 40 extern void sc_start (double d_val, sc_time_unit d_tu); 41 extern void sc_stop (); 42 extern void sc_set_stop_mode (sc_stop_mode); 34 extern void sc_start(double d_val) __attribute__((deprecated)); 35 extern void sc_start(); 36 extern void sc_start(const sc_time & duration ); 37 extern void sc_start(double d_val, sc_time_unit d_tu); 38 extern void sc_stop(); 39 extern void sc_set_stop_mode (sc_stop_mode); 43 40 extern sc_stop_mode sc_get_stop_mode (); 44 41 45 extern const char * sc_gen_unique_name (const char *basename_);42 extern const char * sc_gen_unique_name(const char * basename_); 46 43 47 44 ///////////////////////// 48 45 ///// SYSTEMCASS_SPECIFIC 49 extern void close_systemcass (); 50 extern bool run_schedule_editor (const char*); 51 extern const char *temporary_dir; 52 extern const char *generated_files_dir; 46 47 extern void close_systemcass(); 48 extern bool run_schedule_editor(const char *); 49 extern const char * temporary_dir; 50 extern const char * generated_files_dir; 53 51 54 52 ///////////////////////// … … 65 63 #endif 66 64 65 /* 66 # Local Variables: 67 # tab-width: 4; 68 # c-basic-offset: 4; 69 # c-file-offsets:((innamespace . 0)(inline-open . 0)); 70 # indent-tabs-mode: nil; 71 # End: 72 # 73 # vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=4:softtabstop=4 74 */ 75
Note: See TracChangeset
for help on using the changeset viewer.