From f257fcab01b81ab308f58ae6e399c426ac9936e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Fri, 15 Sep 2006 09:38:15 +0000 Subject: [PATCH] some fixes on links and syntax now default language is cpp, modified synop.xsl to have language param looked at instead of just the node attribute also added midi files to dependency check git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18851 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/documentation/docbook-xsl/html/synop.xsl | 4 +++- src/documentation/haiku_book/Jamfile | 5 +++-- .../haiku_book/midi/midi2endpoint.xml | 19 ++++++++----------- .../haiku_book/midi/midi2producer.xml | 2 +- 4 files changed, 15 insertions(+), 15 deletions(-) diff --git a/src/documentation/docbook-xsl/html/synop.xsl b/src/documentation/docbook-xsl/html/synop.xsl index 62e2e90a05..12ac37a455 100644 --- a/src/documentation/docbook-xsl/html/synop.xsl +++ b/src/documentation/docbook-xsl/html/synop.xsl @@ -730,6 +730,9 @@ paramdef ::= (#PCDATA|type|replaceable|parameter|funcparams)* + + + @@ -1071,7 +1074,6 @@ paramdef ::= (#PCDATA|type|replaceable|parameter|funcparams)* -   diff --git a/src/documentation/haiku_book/Jamfile b/src/documentation/haiku_book/Jamfile index d71ca51dbe..a5663cec17 100644 --- a/src/documentation/haiku_book/Jamfile +++ b/src/documentation/haiku_book/Jamfile @@ -8,7 +8,7 @@ Doc2HTML : [ FDirName $(HAIKU_TOP) src documentation docbook-xsl html chunk.xsl ] : Haiku_Book : - : -stringparam use.id.as.filename 1 + : -stringparam use.id.as.filename 1 -stringparam language cpp ; # Single most ugly string manipulation ever ... @@ -71,7 +71,8 @@ local media_files = intro.xml ; Includes [ FGristFiles mediakit.xml ] : [ FRelGristFiles $(media_files) : media ] ; SEARCH on [ FRelGristFiles $(media_files) : media ] = [ FDirName $(SUBDIR) media ] ; -local midi_files = intro.xml ; +local midi_files = intro.xml midi2.xml midi2consumer.xml midi2endpoint.xml midi2localproducer.xml midi2roster.xml + midi1.xml midi2api.xml midi2defs.xml midi2localconsumer.xml midi2producer.xml ; Includes [ FGristFiles midikit.xml ] : [ FRelGristFiles $(midi_files) : midi ] ; SEARCH on [ FRelGristFiles $(midi_files) : midi ] = [ FDirName $(SUBDIR) midi ] ; diff --git a/src/documentation/haiku_book/midi/midi2endpoint.xml b/src/documentation/haiku_book/midi/midi2endpoint.xml index 51baeaad0f..2274ae2ef8 100644 --- a/src/documentation/haiku_book/midi/midi2endpoint.xml +++ b/src/documentation/haiku_book/midi/midi2endpoint.xml @@ -21,7 +21,7 @@ count drops to zero. If necessary, the destructor of a local endpoint first breaks off any connections and &BMidiEndpoint_Unregister;'s the endpoint before it is deleted. However, for good style and bonus points you should really - BMidiProducer::Disconnect() and &BMidiEndpoint_Unregister; the object + &BMidiProducer_Disconnect; and &BMidiEndpoint_Unregister; the object yourself and not rely on the destructor to do this. @@ -55,7 +55,7 @@ SetName() - void SetName + SetName constchar *name @@ -244,7 +244,7 @@ if (endp->IsConsumer()) - status_t BMidiEndpoint::Acquire() + Acquire() status_t Acquire @@ -297,7 +297,7 @@ if (endp->IsConsumer()) - status_t BMidiEndpoint::Release() + Release() status_t Release @@ -347,7 +347,7 @@ if (endp->IsConsumer()) - If you are &BMidiRoster;::&BMidiRoster_StartWatching; watching, you will + If you are &BMidiRoster_StartWatching; watching, you will not receive notifications for any local endpoints you register or unregister. Of course, other applications will be notified about your endpoints. @@ -372,12 +372,9 @@ if (endp->IsConsumer()) Unregister() - - - status_t Unregister - - - + + status_t Unregister + Hides the endpoint from the roster. diff --git a/src/documentation/haiku_book/midi/midi2producer.xml b/src/documentation/haiku_book/midi/midi2producer.xml index 815800e7b9..d66123449a 100644 --- a/src/documentation/haiku_book/midi/midi2producer.xml +++ b/src/documentation/haiku_book/midi/midi2producer.xml @@ -51,7 +51,7 @@ - status_t Disconnect(BMidiConsumer *cons) + Disconnect() status_t