Haiku Book

Jerome Duval

Matthijs Hollemans

2005-05-16

Revision History
Revision 1.002005-05-16kor
Initial version.

Abstract

This guide is the documentation for the C and C++ API of Haiku.


Table of Contents

1. The Application Kit
Introduction
Messaging
Scripting
BApplication
2. The Device Kit
Introduction
BJoystick
BSerialPort
3. The Game Kit
Introduction
4. The Interface Kit
Introduction
5. The Kernel Kit
Introduction
Threads
Ports
Semaphores
6. The Mail Kit
Introduction
7. The Media Kit
Introduction
8. The Midi Kit
Introduction
The Old Midi 1 Kit
The Midi 2 Kit
Concepts
Midi Kit != Media Kit
Remote and local objects
Creating and Destroying Objects
Reference Counting
MIDI Events
Time
Other Timing Issues
Writing a Filter
API Differences
See Also
Midi 2 Kit API
Midi Defs
BMidiRoster
BMidiEndpoint
BMidiConsumer
BMidiProducer
BMidiLocalConsumer
BMidiLocalProducer
9. The Network Kit
Introduction
10. The OpenGL Kit
Introduction
11. The Storage Kit
Introduction
12. The Support Kit
Introduction
Support Kit API
BArchivable
BAutolock
BDataIO
BBlockCache
BFlattenable
BList
BLocker
BMallocIO
BMemoryIO
BPositionIO
BStopWatch
BString
13. The Translation Kit
Introduction
A. MIT License

List of Figures

8.1. The concepts captured in an image

List of Tables

8.1. Channel message masks
8.2. System Messages
8.3. Controller numbers
8.4. BMidiOp
8.5. B_MIDI_REGISTERED message structure
8.6. B_MIDI_UNREGISTERED message structure
8.7. B_MIDI_CONNECTED message structure
8.8. B_MIDI_DISCONNECTED message structure
8.9. B_MIDI_CHANGED_NAME message structure
8.10. B_MIDI_CHANGED_LATENCY message structure
8.11. B_MIDI_CHANGED_PROPERTIES message structure
8.12. Large Icon Property
8.13. Small Icon Property
8.14. System Status
8.15. RealTime Status