Ignore:
Timestamp:
Jan 22, 2013, 4:23:22 PM (12 years ago)
Author:
meunier
Message:

Code formatting in all source files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sources/src/global_functions.h

    r27 r52  
    11/*------------------------------------------------------------\
    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  \------------------------------------------------------------*/
    1212#ifndef __GLOBAL_FUNCTIONS_H__
    1313#define __GLOBAL_FUNCTIONS_H__
     
    2323enum sc_stop_mode
    2424{
    25   SC_STOP_FINISH_DELTA,
    26   SC_STOP_IMMEDIATE
     25    SC_STOP_FINISH_DELTA,
     26    SC_STOP_IMMEDIATE
    2727};
    28 
    2928/////////////////////////
    3029
    31 
    32 extern int main(int argc, char *argv[]);
     30extern int main(int argc, char * argv[]);
    3331
    3432extern void sc_initialize(void);
    3533
    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);
     34extern void sc_start(double d_val)  __attribute__((deprecated));
     35extern void sc_start();
     36extern void sc_start(const sc_time & duration );
     37extern void sc_start(double d_val, sc_time_unit d_tu);
     38extern void sc_stop();
     39extern void sc_set_stop_mode (sc_stop_mode);
    4340extern sc_stop_mode sc_get_stop_mode ();
    4441
    45 extern const char *sc_gen_unique_name (const char *basename_);
     42extern const char * sc_gen_unique_name(const char * basename_);
    4643
    4744/////////////////////////
    4845///// 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
     47extern void close_systemcass();
     48extern bool run_schedule_editor(const char *);
     49extern const char * temporary_dir;
     50extern const char * generated_files_dir;
    5351
    5452/////////////////////////
     
    6563#endif
    6664
     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.