midi2 kit clean up: license header, code style

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17860 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jérôme Duval
2006-06-16 15:38:29 +00:00
parent f8253e50bd
commit 60d1530802
13 changed files with 516 additions and 849 deletions
+6 -6
View File
@@ -31,8 +31,8 @@ private:
virtual void _Reserved7();
virtual void _Reserved8();
port_id port;
bigtime_t latency;
port_id fPort;
bigtime_t fLatency;
uint32 _reserved[2];
};
@@ -106,10 +106,10 @@ private:
int32 EventThread();
bigtime_t timeout;
void* timeoutData;
int32 currentProducer;
thread_id thread;
bigtime_t fTimeout;
void* fTimeoutData;
int32 fCurrentProducer;
thread_id fThread;
uint32 _reserved[1];
};
+8 -8
View File
@@ -66,14 +66,14 @@ private:
bool LockLooper() const;
void UnlockLooper() const;
int32 id;
BString name;
int32 refCount;
BMessage* properties;
bool isLocal;
bool isConsumer;
bool isRegistered;
bool isAlive;
int32 fId;
BString fName;
int32 fRefCount;
BMessage* fProperties;
bool fIsLocal;
bool fIsConsumer;
bool fIsRegistered;
bool fIsAlive;
uint32 _reserved[4];
};
+3 -4
View File
@@ -2,11 +2,10 @@
#ifndef _MIDI_PRODUCER_H
#define _MIDI_PRODUCER_H
#include <List.h>
#include <Locker.h>
#include <MidiEndpoint.h>
class BList;
namespace BPrivate { class BMidiRosterLooper; }
class BMidiProducer : public BMidiEndpoint
@@ -46,8 +45,8 @@ private:
bool LockProducer() const;
void UnlockProducer() const;
BList* connections;
BLocker* locker;
mutable BLocker fLocker;
BList fConnections;
uint32 _reserved[10];
};
+2 -2
View File
@@ -75,8 +75,8 @@ private:
status_t SendRequest(BMessage*, BMessage*);
BPrivate::BMidiRosterLooper* looper;
BMessenger* server;
BPrivate::BMidiRosterLooper* fLooper;
BMessenger fServer;
uint32 _reserved[16];
};