00001
00002
00003 #include <stdlib.h>
00004 #include <stdio.h>
00005 #include <errno.h>
00006 #include <math.h>
00007 #include "gridlabd.h"
00008
00009 #include "office.h"
00010 #include "multizone.h"
00011
00012 EXPORT CLASS *init(CALLBACKS *fntable, MODULE *module, int argc, char *argv[])
00013 {
00014 if (set_callback(fntable)==NULL)
00015 {
00016 errno = EINVAL;
00017 return NULL;
00018 }
00019
00020 new office(module);
00021 new multizone(module);
00022
00023
00024 return office::oclass;
00025 }
00026
00027 CDECL int do_kill()
00028 {
00029
00030 return 0;
00031 }
00032
00033 EXPORT int check(){
00034 return 0;
00035 }