added a appkit intro

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14060 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jérôme Duval 2005-08-24 19:26:01 +00:00
parent 12e1daa3cc
commit 518df00584
7 changed files with 70 additions and 6 deletions

View File

@ -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 <src!documentation>license.xml = [ FDirName $(OBOS_TOP) src documentation ] ;

View File

@ -23,4 +23,8 @@ translationkit.xml ;
Includes [ FGristFiles Haiku_Book.xml ]
: [ FGristFiles $(chapter_files) ] <src!documentation>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 ] ;

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
]>
<sect1 id="app-Application">
<title>BApplication</title>
</sect1>

View File

@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
]>
<sect1 id="app-intro">
<title>Introduction</title>
<para>
Application Kit is about classes needed to interact with other applications or the screen. Information about it is available in several topics :
</para>
<itemizedlist>
<listitem><para>
<xref linkend="app-messaging"/> helps to send and receive data from other processes.
</para></listitem>
<listitem><para>
<xref linkend="app-scripting"/> helps to operate by program on other applications.
</para></listitem>
<listitem><para>
<xref linkend="app-Application"/> describes an application object. Each application creates one instance to register with the system.
</para></listitem>
</itemizedlist>
</sect1>

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
]>
<sect1 id="app-messaging">
<title>Messaging</title>
</sect1>

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
]>
<sect1 id="app-scripting">
<title>Scripting</title>
</sect1>

View File

@ -3,5 +3,10 @@
<chapter id="st-appkit">
<title>The Application Kit</title>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="app/intro.xml" />
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="app/messaging.xml" />
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="app/scripting.xml" />
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="app/Application.xml" />
</chapter>