Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
55303936
Commit
55303936
authored
Jan 19, 2006
by
Mike McCormack
Committed by
Alexandre Julliard
Jan 19, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winecfg: Tidy up included headers.
Get rid of the barely used properties.c.
parent
1017bcc4
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
28 additions
and
107 deletions
+28
-107
Makefile.in
programs/winecfg/Makefile.in
+0
-1
audio.c
programs/winecfg/audio.c
+15
-6
driveui.c
programs/winecfg/driveui.c
+5
-8
main.c
programs/winecfg/main.c
+2
-11
properties.c
programs/winecfg/properties.c
+0
-71
properties.h
programs/winecfg/properties.h
+0
-3
theme.c
programs/winecfg/theme.c
+1
-4
winecfg.c
programs/winecfg/winecfg.c
+2
-0
x11drvdlg.c
programs/winecfg/x11drvdlg.c
+3
-3
No files found.
programs/winecfg/Makefile.in
View file @
55303936
...
@@ -14,7 +14,6 @@ C_SRCS = \
...
@@ -14,7 +14,6 @@ C_SRCS = \
driveui.c
\
driveui.c
\
libraries.c
\
libraries.c
\
main.c
\
main.c
\
properties.c
\
theme.c
\
theme.c
\
winecfg.c
\
winecfg.c
\
x11drvdlg.c
x11drvdlg.c
...
...
programs/winecfg/audio.c
View file @
55303936
...
@@ -19,6 +19,7 @@
...
@@ -19,6 +19,7 @@
*
*
*/
*/
#define WIN32_LEAN_AND_MEAN
#define NONAMELESSSTRUCT
#define NONAMELESSSTRUCT
#define NONAMELESSUNION
#define NONAMELESSUNION
...
@@ -26,14 +27,11 @@
...
@@ -26,14 +27,11 @@
#include "wine/port.h"
#include "wine/port.h"
#include <assert.h>
#include <assert.h>
#include <stdarg.h>
#include <stdlib.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdio.h>
#include <string.h>
#include <string.h>
#include <windef.h>
#include <windows.h>
#include <winbase.h>
#include <winreg.h>
#include <wine/debug.h>
#include <wine/debug.h>
#include <shellapi.h>
#include <shellapi.h>
#include <objbase.h>
#include <objbase.h>
...
@@ -43,7 +41,6 @@
...
@@ -43,7 +41,6 @@
#include <windowsx.h>
#include <windowsx.h>
#include <mmsystem.h>
#include <mmsystem.h>
#include <mmreg.h>
#include <mmreg.h>
#include <mmsystem.h>
#include <mmddk.h>
#include <mmddk.h>
#include "winecfg.h"
#include "winecfg.h"
...
@@ -64,6 +61,18 @@ static const char* DSound_HW_Accels[] = {
...
@@ -64,6 +61,18 @@ static const char* DSound_HW_Accels[] = {
NULL
NULL
};
};
static
const
AUDIO_DRIVER
sAudioDrivers
[]
=
{
{
"ALSA"
,
"alsa"
},
{
"aRts"
,
"arts"
},
{
"EsounD"
,
"esd"
},
{
"OSS"
,
"oss"
},
{
"JACK"
,
"jack"
},
{
"NAS"
,
"nas"
},
{
"Audio IO(Solaris)"
,
"audioio"
},
{
"Disable sound"
,
""
},
{
""
,
""
}
};
/* list of available drivers */
/* list of available drivers */
static
AUDIO_DRIVER
*
loadedAudioDrv
;
static
AUDIO_DRIVER
*
loadedAudioDrv
;
...
@@ -467,7 +476,7 @@ static void findAudioDrivers(void)
...
@@ -467,7 +476,7 @@ static void findAudioDrivers(void)
*/
*/
old_cursor
=
SetCursor
(
LoadCursor
(
0
,
IDC_WAIT
));
old_cursor
=
SetCursor
(
LoadCursor
(
0
,
IDC_WAIT
));
for
(
pAudioDrv
=
getAudioDrivers
()
;
*
pAudioDrv
->
szName
;
pAudioDrv
++
)
for
(
pAudioDrv
=
sAudioDrivers
;
*
pAudioDrv
->
szName
;
pAudioDrv
++
)
{
{
if
(
strlen
(
pAudioDrv
->
szDriver
))
if
(
strlen
(
pAudioDrv
->
szDriver
))
{
{
...
...
programs/winecfg/driveui.c
View file @
55303936
...
@@ -21,20 +21,15 @@
...
@@ -21,20 +21,15 @@
*
*
*/
*/
#include <stdarg.h>
#define WIN32_LEAN_AND_MEAN
#include <stdio.h>
#define COBJMACROS
#define COBJMACROS
#include <windef.h>
#include <windows.h>
#include <winbase.h>
#include <winreg.h>
#include <shellapi.h>
#include <shellapi.h>
#include <objbase.h>
#include <objbase.h>
#include <shlguid.h>
#include <shlguid.h>
#include <shlwapi.h>
#include <shlwapi.h>
#include <shlobj.h>
#include <shlobj.h>
#include <winuser.h>
#include <wine/debug.h>
#include <wine/debug.h>
...
@@ -279,7 +274,9 @@ static int fill_drives_list(HWND dialog)
...
@@ -279,7 +274,9 @@ static int fill_drives_list(HWND dialog)
if
(
drives
[
i
].
letter
==
'C'
)
if
(
drives
[
i
].
letter
==
'C'
)
drivec_present
=
TRUE
;
drivec_present
=
TRUE
;
snprintf
(
letter
,
sizeof
(
letter
),
"%c:"
,
'A'
+
i
);
letter
[
0
]
=
'A'
+
i
;
letter
[
1
]
=
':'
;
letter
[
2
]
=
0
;
memset
(
&
item
,
0
,
sizeof
(
item
));
memset
(
&
item
,
0
,
sizeof
(
item
));
item
.
mask
=
LVIF_TEXT
|
LVIF_PARAM
;
item
.
mask
=
LVIF_TEXT
|
LVIF_PARAM
;
...
...
programs/winecfg/main.c
View file @
55303936
...
@@ -21,21 +21,12 @@
...
@@ -21,21 +21,12 @@
*
*
*/
*/
#include "config.h"
#define WIN32_LEAN_AND_MEAN
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#define NONAMELESSUNION
#define NONAMELESSUNION
#define NONAMELESSSTRUCT
#define NONAMELESSSTRUCT
#include <windef.h>
#include <windows.h>
#include <winbase.h>
#include <winuser.h>
#include <commctrl.h>
#include <commctrl.h>
#include <objbase.h>
#include <objbase.h>
#include <wine/debug.h>
#include <wine/debug.h>
...
...
programs/winecfg/properties.c
deleted
100644 → 0
View file @
1017bcc4
/*
* 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
*
*/
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include "properties.h"
static
const
DLL_DESC
sDLLType
[]
=
{
{
"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
},
{
"mciavi32.dll"
,
DLL_NATIVE
},
{
"*"
,
DLL_NATIVE
},
{
""
,
-
1
}
};
static
const
AUDIO_DRIVER
sAudioDrivers
[]
=
{
{
"ALSA"
,
"alsa"
},
{
"aRts"
,
"arts"
},
{
"EsounD"
,
"esd"
},
{
"OSS"
,
"oss"
},
{
"JACK"
,
"jack"
},
{
"NAS"
,
"nas"
},
{
"Audio IO(Solaris)"
,
"audioio"
},
{
"Disable sound"
,
""
},
{
""
,
""
}
};
/*****************************************************************************
*/
const
DLL_DESC
*
getDLLDefaults
(
void
)
{
return
sDLLType
;
}
/*****************************************************************************
*/
const
AUDIO_DRIVER
*
getAudioDrivers
(
void
)
{
return
sAudioDrivers
;
}
programs/winecfg/properties.h
View file @
55303936
...
@@ -87,7 +87,4 @@ typedef struct
...
@@ -87,7 +87,4 @@ typedef struct
int
nType
;
int
nType
;
}
DEV_NODES
;
}
DEV_NODES
;
const
DLL_DESC
*
getDLLDefaults
(
void
);
const
AUDIO_DRIVER
*
getAudioDrivers
(
void
);
#endif
#endif
programs/winecfg/theme.c
View file @
55303936
...
@@ -23,10 +23,7 @@
...
@@ -23,10 +23,7 @@
#include <stdlib.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdio.h>
#include <windef.h>
#include <windows.h>
#include <winbase.h>
#include <wingdi.h>
#include <winuser.h>
#include <uxtheme.h>
#include <uxtheme.h>
#include <tmschema.h>
#include <tmschema.h>
#include <shlobj.h>
#include <shlobj.h>
...
...
programs/winecfg/winecfg.c
View file @
55303936
...
@@ -27,6 +27,8 @@
...
@@ -27,6 +27,8 @@
*
*
*/
*/
#define WIN32_LEAN_AND_MEAN
#include <assert.h>
#include <assert.h>
#include <stdio.h>
#include <stdio.h>
#include <limits.h>
#include <limits.h>
...
...
programs/winecfg/x11drvdlg.c
View file @
55303936
...
@@ -21,13 +21,13 @@
...
@@ -21,13 +21,13 @@
*
*
*/
*/
#define WIN32_LEAN_AND_MEAN
#include <stdarg.h>
#include <stdarg.h>
#include <stdlib.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdio.h>
#include <windef.h>
#include <windows.h>
#include <winbase.h>
#include <winreg.h>
#include <wine/debug.h>
#include <wine/debug.h>
#include "resource.h"
#include "resource.h"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment