ifc_configgroup.h 745 B

1234567891011121314151617181920212223242526272829303132333435
  1. #ifndef NULLSOFT_AGAVE_IFC_CONFIGGROUP_H
  2. #define NULLSOFT_AGAVE_IFC_CONFIGGROUP_H
  3. #include "../../bfc/dispatch.h"
  4. #include "../../bfc/platform/types.h"
  5. #include "../../bfc/platform/guid.h"
  6. #include "ifc_configitem.h"
  7. class ifc_configgroup : public Dispatchable
  8. {
  9. protected:
  10. ifc_configgroup() {}
  11. ~ifc_configgroup() {}
  12. public:
  13. ifc_configitem *GetItem(const wchar_t *name);
  14. GUID GetGUID();
  15. public:
  16. DISPATCH_CODES
  17. {
  18. IFC_CONFIGGROUP_GETITEM = 10,
  19. IFC_CONFIGGROUP_GETGUID = 20,
  20. };
  21. };
  22. inline ifc_configitem *ifc_configgroup::GetItem(const wchar_t *name)
  23. {
  24. return _call(IFC_CONFIGGROUP_GETITEM, (ifc_configitem *)0, name);
  25. }
  26. inline GUID ifc_configgroup::GetGUID()
  27. {
  28. return _call(IFC_CONFIGGROUP_GETGUID, (GUID)INVALID_GUID);
  29. }
  30. #endif