diff --git a/src/framework/framework.h b/src/framework/framework.h index 535fb83d0..bb74bdd32 100644 --- a/src/framework/framework.h +++ b/src/framework/framework.h @@ -43,6 +43,7 @@ class DPF_EXPORT Framework DPF_END_NAMESPACE +// use this define instead of long expression #define dpfInstance ::dpf::Framework::instance() #define dpfContext dpfInstance.serviceContext() #define dpfGetService(T) dpfInstance.serviceContext().service(T::name())