00001
00005 #ifndef _NETWORK_H
00006 #define _NETWORK_H
00007
00008 #include <stdarg.h>
00009 #include "gridlabd.h"
00010
00011 #ifdef _NETWORK_GLOBALS
00012 #define GLOBAL
00013 #define INIT(A) = (A)
00014 #else
00015 #define GLOBAL extern
00016 #define INIT(A)
00017 #endif
00018
00019 GLOBAL bool startedCOM INIT(false);
00020 GLOBAL OBJECT *initiatorCOM INIT(NULL);
00021
00022 #ifdef __cplusplus
00023
00024 #ifdef HAVE_POWERWORLD
00025 #ifndef PWX64
00026 #include "pw_model.h"
00027 #include "pw_load.h"
00028 #include "pw_recorder.h"
00029 #endif //PWX64
00030 #endif //HAVE_POWERWORLD
00031
00032 #endif
00033
00034 #endif