Commit 09c6f48b authored by Yuxuan Shui's avatar Yuxuan Shui Committed by Alexandre Julliard

dmband: Move band.c to dmusic.

parent 8e0a00db
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
*/ */
#include "dmband_private.h" #include "dmband_private.h"
#include "dmusic_band.h"
#include "dmobject.h" #include "dmobject.h"
WINE_DEFAULT_DEBUG_CHANNEL(dmband); WINE_DEFAULT_DEBUG_CHANNEL(dmband);
......
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
#include "initguid.h" #include "initguid.h"
#include "dmband_private.h" #include "dmband_private.h"
#include "rpcproxy.h" #include "rpcproxy.h"
#include "dmusic_band.h"
#include "dmobject.h" #include "dmobject.h"
WINE_DEFAULT_DEBUG_CHANNEL(dmband); WINE_DEFAULT_DEBUG_CHANNEL(dmband);
......
...@@ -20,21 +20,16 @@ ...@@ -20,21 +20,16 @@
#ifndef __WINE_DMBAND_PRIVATE_H #ifndef __WINE_DMBAND_PRIVATE_H
#define __WINE_DMBAND_PRIVATE_H #define __WINE_DMBAND_PRIVATE_H
#include <stdio.h>
#include <stdarg.h> #include <stdarg.h>
#include <string.h>
#define COBJMACROS #define COBJMACROS
#include "windef.h" #include "windef.h"
#include "winbase.h" #include "winbase.h"
#include "winnt.h" #include "winnt.h"
#include "wingdi.h"
#include "winuser.h"
#include "wine/debug.h" #include "wine/debug.h"
#include "wine/list.h" #include "wine/list.h"
#include "winreg.h"
#include "objbase.h" #include "objbase.h"
#include "dmusici.h" #include "dmusici.h"
...@@ -44,11 +39,6 @@ ...@@ -44,11 +39,6 @@
/***************************************************************************** /*****************************************************************************
* ClassFactory * ClassFactory
*/ */
extern HRESULT create_dmband(REFIID riid, void **ret_iface);
extern HRESULT create_dmbandtrack(REFIID riid, void **ret_iface); extern HRESULT create_dmbandtrack(REFIID riid, void **ret_iface);
extern HRESULT band_connect_to_collection(IDirectMusicBand *iface, IDirectMusicCollection *collection);
extern HRESULT band_send_messages(IDirectMusicBand *iface, IDirectMusicPerformance *performance,
IDirectMusicGraph *graph, MUSIC_TIME time, DWORD track_id);
#endif /* __WINE_DMBAND_PRIVATE_H */ #endif /* __WINE_DMBAND_PRIVATE_H */
...@@ -2,6 +2,7 @@ MODULE = dmusic.dll ...@@ -2,6 +2,7 @@ MODULE = dmusic.dll
IMPORTS = dxguid uuid ole32 advapi32 dsound user32 winmm IMPORTS = dxguid uuid ole32 advapi32 dsound user32 winmm
SOURCES = \ SOURCES = \
band.c \
buffer.c \ buffer.c \
clock.c \ clock.c \
collection.c \ collection.c \
......
...@@ -17,8 +17,7 @@ ...@@ -17,8 +17,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/ */
#include "dmband_private.h" #include "dmusic_private.h"
#include "dmobject.h"
WINE_DEFAULT_DEBUG_CHANNEL(dmband); WINE_DEFAULT_DEBUG_CHANNEL(dmband);
......
/* DirectMusicBand Private Include
*
* Copyright (C) 2024 Yuxuan Shui for CodeWeavers
*
* This program 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 program 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 program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "dmusici.h"
extern HRESULT create_dmband(REFIID riid, void **ret_iface);
extern HRESULT band_connect_to_collection(IDirectMusicBand *iface, IDirectMusicCollection *collection);
extern HRESULT band_send_messages(IDirectMusicBand *iface, IDirectMusicPerformance *performance,
IDirectMusicGraph *graph, MUSIC_TIME time, DWORD track_id);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment