[haiku-commits] haiku: hrev49579 - headers/os/midi

  • From: stefano.ceccherini@xxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 24 Aug 2015 17:20:25 +0200 (CEST)

hrev49579 adds 1 changeset to branch 'master'
old head: 3ffaf5c26351492618e7ec3e8bb9ceb7ab629490
new head: c34e5f4dd555c3f27d12ca84095239ec8392470d
overview:
http://cgit.haiku-os.org/haiku/log/?qt=range&q=c34e5f4dd555+%5E3ffaf5c26351

----------------------------------------------------------------------------

c34e5f4dd555: B_BIG_SYNTH_FILE and B_LITTLE_SYNTH_FILE are deprecated.
Small style change in midi headers.

[ Stefano Ceccherini <stefano.ceccherini@xxxxxxxxx> ]

----------------------------------------------------------------------------

Revision: hrev49579
Commit: c34e5f4dd555c3f27d12ca84095239ec8392470d
URL: http://cgit.haiku-os.org/haiku/commit/?id=c34e5f4dd555
Author: Stefano Ceccherini <stefano.ceccherini@xxxxxxxxx>
Date: Mon Aug 24 15:18:26 2015 UTC

----------------------------------------------------------------------------

7 files changed, 8 insertions(+), 12 deletions(-)
headers/os/midi/Midi.h | 3 +--
headers/os/midi/MidiDefs.h | 2 ++
headers/os/midi/MidiPort.h | 3 +--
headers/os/midi/MidiStore.h | 3 +--
headers/os/midi/MidiSynth.h | 3 +--
headers/os/midi/MidiSynthFile.h | 3 +--
headers/os/midi/MidiText.h | 3 +--

----------------------------------------------------------------------------

diff --git a/headers/os/midi/Midi.h b/headers/os/midi/Midi.h
index 2e41f05..fcada5b 100644
--- a/headers/os/midi/Midi.h
+++ b/headers/os/midi/Midi.h
@@ -10,8 +10,7 @@ class BList;
class BMidiLocalProducer;
class BMidiLocalConsumer;

-class BMidi
-{
+class BMidi {
public:

BMidi();
diff --git a/headers/os/midi/MidiDefs.h b/headers/os/midi/MidiDefs.h
index a4d44c5..4afb403 100644
--- a/headers/os/midi/MidiDefs.h
+++ b/headers/os/midi/MidiDefs.h
@@ -15,6 +15,8 @@
/* Synthesizer things */

#define B_SYNTH_DIRECTORY B_SYSTEM_DATA_DIRECTORY
+
+/* Deprecated */
#define B_BIG_SYNTH_FILE "synth/big_synth.sy"
#define B_LITTLE_SYNTH_FILE "synth/little_synth.sy"

diff --git a/headers/os/midi/MidiPort.h b/headers/os/midi/MidiPort.h
index af86f6f..9a3c68b 100644
--- a/headers/os/midi/MidiPort.h
+++ b/headers/os/midi/MidiPort.h
@@ -9,8 +9,7 @@ class BMidiProducer;

namespace BPrivate { class BMidiPortGlue; }

-class BMidiPort : public BMidi
-{
+class BMidiPort : public BMidi {
public:

BMidiPort(const char* name = NULL);
diff --git a/headers/os/midi/MidiStore.h b/headers/os/midi/MidiStore.h
index e519a27..47c45ca 100644
--- a/headers/os/midi/MidiStore.h
+++ b/headers/os/midi/MidiStore.h
@@ -12,8 +12,7 @@ class BFile;
class BList;
class BMidiEvent;

-class BMidiStore : public BMidi
-{
+class BMidiStore : public BMidi {
public:

BMidiStore();
diff --git a/headers/os/midi/MidiSynth.h b/headers/os/midi/MidiSynth.h
index c85f8b5..a955690 100644
--- a/headers/os/midi/MidiSynth.h
+++ b/headers/os/midi/MidiSynth.h
@@ -9,8 +9,7 @@

class BSynth;

-class BMidiSynth : public BMidi
-{
+class BMidiSynth : public BMidi {
public:

BMidiSynth();
diff --git a/headers/os/midi/MidiSynthFile.h b/headers/os/midi/MidiSynthFile.h
index ffd0cb3..7964b08 100644
--- a/headers/os/midi/MidiSynthFile.h
+++ b/headers/os/midi/MidiSynthFile.h
@@ -10,8 +10,7 @@ typedef void (*synth_file_hook)(int32 arg);

class BMidiStore;

-class BMidiSynthFile : public BMidiSynth
-{
+class BMidiSynthFile : public BMidiSynth {
public:

BMidiSynthFile();
diff --git a/headers/os/midi/MidiText.h b/headers/os/midi/MidiText.h
index 8a18593..a70638d 100644
--- a/headers/os/midi/MidiText.h
+++ b/headers/os/midi/MidiText.h
@@ -6,8 +6,7 @@
#include <Midi.h>
#include <stdio.h>

-class BMidiText : public BMidi
-{
+class BMidiText : public BMidi {
public:

BMidiText();


Other related posts: