blob: d9b8e5f53ef77fd9b6f10bd72d830bb661fbe641 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
/** (c) Nullsoft, Inc. C O N F I D E N T I A L
** Filename:
** Project:
** Description:
** Author: Ben Allison benski@nullsoft.com
** Created:
**/
#include "main.h"
#include "VideoConfigGroup.h"
#include "WinampAttributes.h"
ifc_configitem *VideoConfigGroup::GetItem(const wchar_t *name)
{
if (!wcscmp(name, L"overlay"))
return &config_video_overlays;
else if (!wcscmp(name, L"YV12"))
return &config_video_yv12;
else if (!wcscmp(name, L"vsync"))
return &config_video_vsync2;
else if (!wcscmp(name, L"ddraw"))
return &config_video_ddraw;
else if (!wcscmp(name, L"gdiplus"))
return &config_video_gdiplus;
else if (!wcscmp(name, L"autoopen"))
return &config_video_autoopen;
else if (!wcscmp(name, L"autoclose"))
return &config_video_autoclose;
else if (!wcscmp(name, L"auto_fs"))
return &config_video_auto_fs;
return 0;
}
#define CBCLASS VideoConfigGroup
START_DISPATCH;
CB(IFC_CONFIGGROUP_GETITEM, GetItem)
CB(IFC_CONFIGGROUP_GETGUID, GetGUID)
END_DISPATCH;
#undef CBCLASS
|