#ifdef __cplusplus extern "C" { #endif #pragma once #include "HROOT-coreType.h" #include "HROOTCoreTNamed.h" #include "HROOTCoreTObject.h" #include "STDDeletable.h" #define TSYSTEM_DECL_VIRT(Type) \ bool Type##_ProcessEvents ( Type##_p p ); #define TSYSTEM_DECL_NONVIRT(Type) \ #define TSYSTEM_DECL_ACCESSOR(Type) \ #define TSYSTEM_DEF_VIRT(Type) \ bool Type##_ProcessEvents ( Type##_p p ) {\ return ((TYPECASTMETHOD(Type, ProcessEvents, TSystem))(p))->ProcessEvents();\ } #define TSYSTEM_DEF_NONVIRT(Type) \ #define TSYSTEM_DEF_ACCESSOR(Type) \ TNAMED_DECL_VIRT(TSystem) TOBJECT_DECL_VIRT(TSystem) DELETABLE_DECL_VIRT(TSystem) TSYSTEM_DECL_VIRT(TSystem) TSYSTEM_DECL_NONVIRT(TSystem) TSYSTEM_DECL_ACCESSOR(TSystem) #ifdef __cplusplus } #endif