The glue classes are now in namespace BPrivate.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7561 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -4,6 +4,8 @@
|
||||
|
||||
#include <Midi.h>
|
||||
|
||||
namespace BPrivate { class BMidiPortGlue; }
|
||||
|
||||
class BMidiPort : public BMidi
|
||||
{
|
||||
public:
|
||||
@@ -59,7 +61,7 @@ private:
|
||||
|
||||
typedef BMidi super;
|
||||
|
||||
friend class BMidiPortGlue;
|
||||
friend class BPrivate::BMidiPortGlue;
|
||||
|
||||
virtual void _ReservedMidiPort1();
|
||||
virtual void _ReservedMidiPort2();
|
||||
|
||||
@@ -30,6 +30,8 @@
|
||||
#include "MidiGlue.h"
|
||||
#include "debug.h"
|
||||
|
||||
using namespace BPrivate;
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
status_t _run_thread(void* data)
|
||||
|
||||
@@ -25,6 +25,8 @@
|
||||
#include "MidiGlue.h"
|
||||
#include "MidiPort.h"
|
||||
|
||||
using namespace BPrivate;
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
BMidiGlue::BMidiGlue(BMidi* midiObject_, const char* name)
|
||||
|
||||
@@ -29,6 +29,8 @@
|
||||
#define MAKE_TIME(t) (t / (bigtime_t)1000)
|
||||
#define MAKE_BIGTIME(t) (t * (bigtime_t)1000)
|
||||
|
||||
namespace BPrivate {
|
||||
|
||||
class BMidiGlue: public BMidiLocalConsumer
|
||||
{
|
||||
public:
|
||||
@@ -115,4 +117,6 @@ private:
|
||||
BMidiPort* midiObject;
|
||||
};
|
||||
|
||||
} // namespace BPrivate
|
||||
|
||||
#endif // _MIDI_GLUE_H
|
||||
|
||||
@@ -29,6 +29,8 @@
|
||||
#include "MidiPort.h"
|
||||
#include "MidiGlue.h"
|
||||
|
||||
using namespace BPrivate;
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
BMidiPort::BMidiPort(const char* name)
|
||||
|
||||
Reference in New Issue
Block a user