thread/Mutex: use using
instead of making it a derived class
Prepare the transition to std::mutex.
This commit is contained in:
@@ -21,10 +21,10 @@
|
||||
#define MPD_INPUT_PLUGIN_HXX
|
||||
|
||||
#include "Ptr.hxx"
|
||||
#include "thread/Mutex.hxx"
|
||||
#include "util/Compiler.h"
|
||||
|
||||
struct ConfigBlock;
|
||||
class Mutex;
|
||||
class EventLoop;
|
||||
class RemoteTagScanner;
|
||||
class RemoteTagHandler;
|
||||
|
@@ -21,9 +21,9 @@
|
||||
#define MPD_INPUT_LOCAL_OPEN_HXX
|
||||
|
||||
#include "Ptr.hxx"
|
||||
#include "thread/Mutex.hxx"
|
||||
|
||||
class Path;
|
||||
class Mutex;
|
||||
|
||||
/**
|
||||
* Open a "local" file. This is a wrapper for the input plugins
|
||||
|
@@ -21,9 +21,9 @@
|
||||
#define MPD_INPUT_ARCHIVE_HXX
|
||||
|
||||
#include "input/Ptr.hxx"
|
||||
#include "thread/Mutex.hxx"
|
||||
|
||||
class Path;
|
||||
class Mutex;
|
||||
|
||||
InputStreamPtr
|
||||
OpenArchiveInputStream(Path path, Mutex &mutex);
|
||||
|
@@ -21,12 +21,11 @@
|
||||
#define MPD_INPUT_CURL_HXX
|
||||
|
||||
#include "input/Ptr.hxx"
|
||||
#include "thread/Mutex.hxx"
|
||||
|
||||
#include <string>
|
||||
#include <map>
|
||||
|
||||
class Mutex;
|
||||
|
||||
extern const struct InputPlugin input_plugin_curl;
|
||||
|
||||
/**
|
||||
|
@@ -21,9 +21,9 @@
|
||||
#define MPD_INPUT_FILE_HXX
|
||||
|
||||
#include "input/Ptr.hxx"
|
||||
#include "thread/Mutex.hxx"
|
||||
|
||||
class Path;
|
||||
class Mutex;
|
||||
|
||||
InputStreamPtr
|
||||
OpenFileInputStream(Path path, Mutex &mutex);
|
||||
|
Reference in New Issue
Block a user