1
0

AccessibilityConfigGroup.cpp 494 B

123456789101112131415161718192021
  1. #include "main.h"
  2. #include "AccessibilityConfigGroup.h"
  3. #include "WinampAttributes.h"
  4. ifc_configitem *AccessibilityConfigGroup::GetItem(const wchar_t *name)
  5. {
  6. if (!wcscmp(name, L"modalbeep"))
  7. return &config_accessibility_modalbeep;
  8. else if (!wcscmp(name, L"modalflash"))
  9. return &config_accessibility_modalflash;
  10. return 0;
  11. }
  12. #define CBCLASS AccessibilityConfigGroup
  13. START_DISPATCH;
  14. CB(IFC_CONFIGGROUP_GETITEM, GetItem)
  15. CB(IFC_CONFIGGROUP_GETGUID, GetGUID)
  16. END_DISPATCH;
  17. #undef CBCLASS