Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
c3e753c2
Commit
c3e753c2
authored
Jun 09, 2014
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Jun 11, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dmband: Move struct definitions to the .c files that uses them.
parent
8b9fd893
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
41 deletions
+19
-41
band.c
dlls/dmband/band.c
+9
-0
bandtrack.c
dlls/dmband/bandtrack.c
+10
-1
dmband_private.h
dlls/dmband/dmband_private.h
+0
-40
No files found.
dlls/dmband/band.c
View file @
c3e753c2
...
...
@@ -26,6 +26,15 @@ WINE_DECLARE_DEBUG_CHANNEL(dmfile);
/*****************************************************************************
* IDirectMusicBandImpl implementation
*/
typedef
struct
IDirectMusicBandImpl
{
IDirectMusicBand
IDirectMusicBand_iface
;
const
IDirectMusicObjectVtbl
*
ObjectVtbl
;
const
IPersistStreamVtbl
*
PersistStreamVtbl
;
LONG
ref
;
DMUS_OBJECTDESC
*
pDesc
;
struct
list
Instruments
;
}
IDirectMusicBandImpl
;
static
inline
IDirectMusicBandImpl
*
impl_from_IDirectMusicBand
(
IDirectMusicBand
*
iface
)
{
return
CONTAINING_RECORD
(
iface
,
IDirectMusicBandImpl
,
IDirectMusicBand_iface
);
...
...
dlls/dmband/bandtrack.c
View file @
c3e753c2
...
...
@@ -25,7 +25,16 @@ WINE_DECLARE_DEBUG_CHANNEL(dmfile);
/*****************************************************************************
* IDirectMusicBandTrack implementation
*/
/* IDirectMusicBandTrack IUnknown part: */
typedef
struct
IDirectMusicBandTrack
{
const
IUnknownVtbl
*
UnknownVtbl
;
const
IDirectMusicTrack8Vtbl
*
TrackVtbl
;
const
IPersistStreamVtbl
*
PersistStreamVtbl
;
LONG
ref
;
DMUS_OBJECTDESC
*
pDesc
;
DMUS_IO_BAND_TRACK_HEADER
header
;
struct
list
Bands
;
}
IDirectMusicBandTrack
;
static
HRESULT
WINAPI
IDirectMusicBandTrack_IUnknown_QueryInterface
(
LPUNKNOWN
iface
,
REFIID
riid
,
LPVOID
*
ppobj
)
{
ICOM_THIS_MULTI
(
IDirectMusicBandTrack
,
UnknownVtbl
,
iface
);
TRACE
(
"(%p, %s, %p)
\n
"
,
This
,
debugstr_dmguid
(
riid
),
ppobj
);
...
...
dlls/dmband/dmband_private.h
View file @
c3e753c2
...
...
@@ -43,13 +43,6 @@
#include "dmusics.h"
/*****************************************************************************
* Interfaces
*/
typedef
struct
IDirectMusicBandImpl
IDirectMusicBandImpl
;
typedef
struct
IDirectMusicBandTrack
IDirectMusicBandTrack
;
/*****************************************************************************
* ClassFactory
*/
extern
HRESULT
WINAPI
create_dmband
(
REFIID
riid
,
void
**
ret_iface
)
DECLSPEC_HIDDEN
;
...
...
@@ -82,39 +75,6 @@ typedef struct _DMUS_PRIVATE_BAND {
}
DMUS_PRIVATE_BAND
,
*
LPDMUS_PRIVATE_BAND
;
/*****************************************************************************
* IDirectMusicBandImpl implementation structure
*/
struct
IDirectMusicBandImpl
{
IDirectMusicBand
IDirectMusicBand_iface
;
const
IDirectMusicObjectVtbl
*
ObjectVtbl
;
const
IPersistStreamVtbl
*
PersistStreamVtbl
;
LONG
ref
;
/* IDirectMusicBandImpl fields */
LPDMUS_OBJECTDESC
pDesc
;
/* data */
struct
list
Instruments
;
};
/*****************************************************************************
* IDirectMusicBandTrack implementation structure
*/
struct
IDirectMusicBandTrack
{
/* IUnknown fields */
const
IUnknownVtbl
*
UnknownVtbl
;
const
IDirectMusicTrack8Vtbl
*
TrackVtbl
;
const
IPersistStreamVtbl
*
PersistStreamVtbl
;
LONG
ref
;
/* IDirectMusicBandTrack fields */
LPDMUS_OBJECTDESC
pDesc
;
DMUS_IO_BAND_TRACK_HEADER
header
;
/* data */
struct
list
Bands
;
};
/**********************************************************************
* Dll lifetime tracking declaration for dmband.dll
*/
...
...
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