Archived
1
0
This repository has been archived on 2024-10-17. You can view files and clone it, but cannot push or open issues or pull requests.
winamp/Src/Winamp/AccessibilityConfigGroup.cpp

21 lines
494 B
C++
Raw Normal View History

2024-09-24 12:54:57 +00:00
#include "main.h"
#include "AccessibilityConfigGroup.h"
#include "WinampAttributes.h"
ifc_configitem *AccessibilityConfigGroup::GetItem(const wchar_t *name)
{
if (!wcscmp(name, L"modalbeep"))
return &config_accessibility_modalbeep;
else if (!wcscmp(name, L"modalflash"))
return &config_accessibility_modalflash;
return 0;
}
#define CBCLASS AccessibilityConfigGroup
START_DISPATCH;
CB(IFC_CONFIGGROUP_GETITEM, GetItem)
CB(IFC_CONFIGGROUP_GETGUID, GetGUID)
END_DISPATCH;
#undef CBCLASS