dmband: Move struct definitions to the .c files that uses them.
This commit is contained in:
parent
8b9fd8939b
commit
c3e753c20b
|
@ -26,6 +26,15 @@ WINE_DECLARE_DEBUG_CHANNEL(dmfile);
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
* IDirectMusicBandImpl implementation
|
* 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)
|
static inline IDirectMusicBandImpl *impl_from_IDirectMusicBand(IDirectMusicBand *iface)
|
||||||
{
|
{
|
||||||
return CONTAINING_RECORD(iface, IDirectMusicBandImpl, IDirectMusicBand_iface);
|
return CONTAINING_RECORD(iface, IDirectMusicBandImpl, IDirectMusicBand_iface);
|
||||||
|
|
|
@ -25,7 +25,16 @@ WINE_DECLARE_DEBUG_CHANNEL(dmfile);
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
* IDirectMusicBandTrack implementation
|
* 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) {
|
static HRESULT WINAPI IDirectMusicBandTrack_IUnknown_QueryInterface (LPUNKNOWN iface, REFIID riid, LPVOID *ppobj) {
|
||||||
ICOM_THIS_MULTI(IDirectMusicBandTrack, UnknownVtbl, iface);
|
ICOM_THIS_MULTI(IDirectMusicBandTrack, UnknownVtbl, iface);
|
||||||
TRACE("(%p, %s, %p)\n", This, debugstr_dmguid(riid), ppobj);
|
TRACE("(%p, %s, %p)\n", This, debugstr_dmguid(riid), ppobj);
|
||||||
|
|
|
@ -42,13 +42,6 @@
|
||||||
#include "dmusicf.h"
|
#include "dmusicf.h"
|
||||||
#include "dmusics.h"
|
#include "dmusics.h"
|
||||||
|
|
||||||
/*****************************************************************************
|
|
||||||
* Interfaces
|
|
||||||
*/
|
|
||||||
typedef struct IDirectMusicBandImpl IDirectMusicBandImpl;
|
|
||||||
|
|
||||||
typedef struct IDirectMusicBandTrack IDirectMusicBandTrack;
|
|
||||||
|
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
* ClassFactory
|
* ClassFactory
|
||||||
*/
|
*/
|
||||||
|
@ -82,39 +75,6 @@ typedef struct _DMUS_PRIVATE_BAND {
|
||||||
} DMUS_PRIVATE_BAND, *LPDMUS_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
|
* Dll lifetime tracking declaration for dmband.dll
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue