dmstyle: Move a struct definition to the .c file that uses it.

This commit is contained in:
Michael Stefaniuc 2014-06-09 13:29:47 +02:00 committed by Alexandre Julliard
parent 1aae7b0fa7
commit e22458c224
2 changed files with 11 additions and 20 deletions

View File

@ -45,8 +45,6 @@
/***************************************************************************** /*****************************************************************************
* Interfaces * Interfaces
*/ */
typedef struct IDirectMusicStyle8Impl IDirectMusicStyle8Impl;
typedef struct IDirectMusicAuditionTrack IDirectMusicAuditionTrack; typedef struct IDirectMusicAuditionTrack IDirectMusicAuditionTrack;
typedef struct IDirectMusicChordTrack IDirectMusicChordTrack; typedef struct IDirectMusicChordTrack IDirectMusicChordTrack;
typedef struct IDirectMusicCommandTrack IDirectMusicCommandTrack; typedef struct IDirectMusicCommandTrack IDirectMusicCommandTrack;
@ -99,24 +97,6 @@ typedef struct _DMUS_PRIVATE_STYLE_ITEM {
} DMUS_PRIVATE_STYLE_ITEM, *LPDMUS_PRIVATE_STYLE_ITEM; } DMUS_PRIVATE_STYLE_ITEM, *LPDMUS_PRIVATE_STYLE_ITEM;
/*****************************************************************************
* IDirectMusicStyle8Impl implementation structure
*/
struct IDirectMusicStyle8Impl {
IDirectMusicStyle8 IDirectMusicStyle8_iface;
const IDirectMusicObjectVtbl *ObjectVtbl;
const IPersistStreamVtbl *PersistStreamVtbl;
LONG ref;
/* IDirectMusicStyle8Impl fields */
LPDMUS_OBJECTDESC pDesc;
DMUS_IO_STYLE style;
/* data */
struct list Motifs;
struct list Bands;
};
/***************************************************************************** /*****************************************************************************
* IDirectMusicAuditionTrack implementation structure * IDirectMusicAuditionTrack implementation structure
*/ */

View File

@ -26,6 +26,17 @@ WINE_DECLARE_DEBUG_CHANNEL(dmfile);
/***************************************************************************** /*****************************************************************************
* IDirectMusicStyleImpl implementation * IDirectMusicStyleImpl implementation
*/ */
typedef struct IDirectMusicStyle8Impl {
IDirectMusicStyle8 IDirectMusicStyle8_iface;
const IDirectMusicObjectVtbl *ObjectVtbl;
const IPersistStreamVtbl *PersistStreamVtbl;
LONG ref;
DMUS_OBJECTDESC *pDesc;
DMUS_IO_STYLE style;
struct list Motifs;
struct list Bands;
} IDirectMusicStyle8Impl;
static inline IDirectMusicStyle8Impl *impl_from_IDirectMusicStyle8(IDirectMusicStyle8 *iface) static inline IDirectMusicStyle8Impl *impl_from_IDirectMusicStyle8(IDirectMusicStyle8 *iface)
{ {
return CONTAINING_RECORD(iface, IDirectMusicStyle8Impl, IDirectMusicStyle8_iface); return CONTAINING_RECORD(iface, IDirectMusicStyle8Impl, IDirectMusicStyle8_iface);