Commit ccd7f082 authored by Max Kellermann's avatar Max Kellermann

DecoderControl: use GLib forward declarations

parent d0896ea7
......@@ -22,6 +22,8 @@
#include "Main.hxx"
#include "event/Loop.hxx"
#include <glib.h>
#include <assert.h>
#include <string.h>
......
......@@ -22,6 +22,8 @@
#include "MusicPipe.hxx"
#include "Song.hxx"
#include <glib.h>
#include <assert.h>
#undef G_LOG_DOMAIN
......
......@@ -26,8 +26,6 @@
#include "thread/Cond.hxx"
#include "util/Error.hxx"
#include <glib.h>
#include <assert.h>
#include <stdint.h>
......@@ -39,6 +37,7 @@
struct Song;
class MusicBuffer;
class MusicPipe;
typedef struct _GThread GThread;
enum class DecoderState : uint8_t {
STOP = 0,
......
......@@ -20,10 +20,9 @@
#ifndef MPD_MAIN_HXX
#define MPD_MAIN_HXX
#include <glib.h>
class EventLoop;
struct Instance;
typedef struct _GThread GThread;
extern GThread *main_task;
......
......@@ -29,6 +29,8 @@
#include "FilterPlugin.hxx"
#include "util/Error.hxx"
#include <glib.h>
#include <assert.h>
#include <stdlib.h>
......
......@@ -25,14 +25,14 @@
#include "thread/Mutex.hxx"
#include "thread/Cond.hxx"
#include <glib.h>
#include <time.h>
class Error;
class Filter;
class MusicPipe;
struct config_param;
typedef struct _GThread GThread;
typedef struct _GTimer GTimer;
enum audio_output_command {
AO_COMMAND_NONE = 0,
......
......@@ -30,6 +30,8 @@
#include "thread/Mutex.hxx"
#include "event/ServerSocket.hxx"
#include <glib.h>
#include <forward_list>
struct config_param;
......
......@@ -24,6 +24,8 @@
#include "util/Error.hxx"
#include "util/Domain.hxx"
#include <glib.h>
#include <stdio.h>
#include <errno.h>
......
......@@ -25,6 +25,8 @@
#include "util/Error.hxx"
#include "util/Domain.hxx"
#include <glib.h>
#include <stdlib.h>
#include <string.h>
......
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