From 518df005847782e8d41eb9678e3f60fdde6a0e3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Wed, 24 Aug 2005 19:26:01 +0000 Subject: [PATCH] added a appkit intro git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14060 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/documentation/Jamfile | 10 ++++---- src/documentation/haiku_book/Jamfile | 6 ++++- .../haiku_book/app/Application.xml | 10 ++++++++ src/documentation/haiku_book/app/intro.xml | 25 +++++++++++++++++++ .../haiku_book/app/messaging.xml | 10 ++++++++ .../haiku_book/app/scripting.xml | 10 ++++++++ src/documentation/haiku_book/appkit.xml | 5 ++++ 7 files changed, 70 insertions(+), 6 deletions(-) create mode 100644 src/documentation/haiku_book/app/Application.xml create mode 100644 src/documentation/haiku_book/app/intro.xml create mode 100644 src/documentation/haiku_book/app/messaging.xml create mode 100644 src/documentation/haiku_book/app/scripting.xml diff --git a/src/documentation/Jamfile b/src/documentation/Jamfile index f4a92a9975..e0b57f0fe4 100644 --- a/src/documentation/Jamfile +++ b/src/documentation/Jamfile @@ -19,24 +19,24 @@ rule Doc2HTML MakeLocate $(target) : $(basedir) ; if $(2) { - XSLBASEDIR on $(target) = "-stringparam base.dir \""$(basedir)"/\"" ; + XSLBASEDIR on $(target) = -stringparam base.dir \"$(basedir)/\" ; } XSLSHEET on $(target) = $(xslsheet) ; XSLOPTIONS on $(target) = $(options) ; - if ! $(2) { - XSLOUTPUT on $(target) = "-o \""$(target)"\"" ; + if $(2) = "" { + XSLOUTPUT on $(target) = "-o "\"$(target:D=$(basedir))\" ; } Depends $(target) : $(source) ; LocalDepends doc_files : $(target) ; - XSLPROCPATHS on $(target) = "-path \""$(paths:J=\ )"\"" ; + XSLPROCPATHS on $(target) = -path \" $(paths:J=\ ) \" ; Doc2HTML1 $(target) : $(source) ; LocalClean clean : $(target) ; } actions Doc2HTML1 { - $(XSLTPROC) -xinclude $(XSLPROCPATHS) $(XSLBASEDIR) $(XSLOPTIONS) $(XSLOUTPUT) $(XSLSHEET) $(2) ; + $(XSLTPROC) -xinclude $(XSLPROCPATHS) $(XSLBASEDIR) $(XSLOPTIONS) $(XSLOUTPUT) $(XSLSHEET) $(2) } SEARCH on license.xml = [ FDirName $(OBOS_TOP) src documentation ] ; diff --git a/src/documentation/haiku_book/Jamfile b/src/documentation/haiku_book/Jamfile index 82b0069d38..8fc0d2d19a 100644 --- a/src/documentation/haiku_book/Jamfile +++ b/src/documentation/haiku_book/Jamfile @@ -23,4 +23,8 @@ translationkit.xml ; Includes [ FGristFiles Haiku_Book.xml ] : [ FGristFiles $(chapter_files) ] license.xml ; -SEARCH on [ FGristFiles $(chapter_files) ] = [ FDirName $(OBOS_TOP) src documentation haiku_book ] ; +SEARCH on [ FGristFiles $(chapter_files) ] = [ FDirName $(SUB_DIR) ] ; + +local app_files = intro.xml messaging.xml scripting.xml Application.xml ; +Includes [ FGristFiles appkit.xml ] : [ FGristFiles $(app_files) ] ; +SEARCH on [ FGristFiles $(app_files) ] = [ FDirName $(SUB_DIR) app ] ; diff --git a/src/documentation/haiku_book/app/Application.xml b/src/documentation/haiku_book/app/Application.xml new file mode 100644 index 0000000000..5d9213e728 --- /dev/null +++ b/src/documentation/haiku_book/app/Application.xml @@ -0,0 +1,10 @@ + + + + +BApplication + + diff --git a/src/documentation/haiku_book/app/intro.xml b/src/documentation/haiku_book/app/intro.xml new file mode 100644 index 0000000000..2a23025dd7 --- /dev/null +++ b/src/documentation/haiku_book/app/intro.xml @@ -0,0 +1,25 @@ + + + + +Introduction + + +Application Kit is about classes needed to interact with other applications or the screen. Information about it is available in several topics : + + + + helps to send and receive data from other processes. + + + helps to operate by program on other applications. + + + describes an application object. Each application creates one instance to register with the system. + + + + diff --git a/src/documentation/haiku_book/app/messaging.xml b/src/documentation/haiku_book/app/messaging.xml new file mode 100644 index 0000000000..84494deb2d --- /dev/null +++ b/src/documentation/haiku_book/app/messaging.xml @@ -0,0 +1,10 @@ + + + + +Messaging + + diff --git a/src/documentation/haiku_book/app/scripting.xml b/src/documentation/haiku_book/app/scripting.xml new file mode 100644 index 0000000000..cb3a026d3f --- /dev/null +++ b/src/documentation/haiku_book/app/scripting.xml @@ -0,0 +1,10 @@ + + + + +Scripting + + diff --git a/src/documentation/haiku_book/appkit.xml b/src/documentation/haiku_book/appkit.xml index c1c6d6c038..b274c1f25d 100644 --- a/src/documentation/haiku_book/appkit.xml +++ b/src/documentation/haiku_book/appkit.xml @@ -3,5 +3,10 @@ The Application Kit + + + + +