2003-03-31 21:41:55 +02:00
|
|
|
/*
|
|
|
|
* WineCfg properties management
|
|
|
|
*
|
|
|
|
* Copyright 2002 Jaco Greeff
|
|
|
|
* Copyright 2003 Dimitrie O. Paun
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <windows.h>
|
|
|
|
|
|
|
|
#include "properties.h"
|
|
|
|
|
2005-06-27 11:48:06 +02:00
|
|
|
static const DLL_DESC sDLLType[] = {
|
2003-03-31 21:41:55 +02:00
|
|
|
{"oleaut32", DLL_BUILTIN},
|
|
|
|
{"ole32", DLL_BUILTIN},
|
|
|
|
{"commdlg", DLL_BUILTIN},
|
|
|
|
{"comdlg32", DLL_BUILTIN},
|
|
|
|
{"shell", DLL_BUILTIN},
|
|
|
|
{"shell32", DLL_BUILTIN},
|
|
|
|
{"shfolder", DLL_BUILTIN},
|
|
|
|
{"shlwapi", DLL_BUILTIN},
|
|
|
|
{"shdocvw", DLL_BUILTIN},
|
|
|
|
{"advapi32", DLL_BUILTIN},
|
|
|
|
{"msvcrt", DLL_NATIVE},
|
2005-08-23 21:52:30 +02:00
|
|
|
{"mciavi32.dll", DLL_NATIVE},
|
2003-03-31 21:41:55 +02:00
|
|
|
{"*", DLL_NATIVE},
|
|
|
|
{"", -1}
|
|
|
|
};
|
|
|
|
|
2005-06-27 11:48:06 +02:00
|
|
|
static const AUDIO_DRIVER sAudioDrivers[] = {
|
|
|
|
{"ALSA", "alsa"},
|
2005-06-20 20:35:57 +02:00
|
|
|
{"aRts", "arts"},
|
2005-08-03 17:53:26 +02:00
|
|
|
{"EsounD", "esd"},
|
2005-06-20 20:35:57 +02:00
|
|
|
{"OSS", "oss"},
|
2005-06-27 11:48:06 +02:00
|
|
|
{"JACK", "jack"},
|
|
|
|
{"NAS", "nas"},
|
2005-06-20 20:35:57 +02:00
|
|
|
{"Audio IO(Solaris)", "audioio"},
|
2004-01-20 03:07:35 +01:00
|
|
|
{"Disable sound", ""},
|
|
|
|
{"", ""}
|
|
|
|
};
|
2003-03-31 21:41:55 +02:00
|
|
|
|
|
|
|
|
|
|
|
/*****************************************************************************
|
|
|
|
*/
|
2005-06-27 11:48:06 +02:00
|
|
|
const DLL_DESC* getDLLDefaults(void)
|
2003-03-31 21:41:55 +02:00
|
|
|
{
|
|
|
|
return sDLLType;
|
|
|
|
}
|
2004-01-20 03:07:35 +01:00
|
|
|
|
|
|
|
/*****************************************************************************
|
|
|
|
*/
|
2005-06-27 11:48:06 +02:00
|
|
|
const AUDIO_DRIVER* getAudioDrivers(void)
|
2004-01-20 03:07:35 +01:00
|
|
|
{
|
|
|
|
return sAudioDrivers;
|
|
|
|
}
|