]> git.lyx.org Git - lyx.git/blob - development/MacOSX/LyX.sdef
Update my email and status.
[lyx.git] / development / MacOSX / LyX.sdef
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE dictionary SYSTEM "file://localhost/System/Library/DTDs/sdef.dtd">
3  
4 <!--
5  This file is part of LyX, the document processor.
6  Licence details can be found in the file COPYING.
7
8  author: Benjamin Piwowarski
9
10  Full author contact details are available in file CREDITS.
11  
12 -->
13  
14  
15     <!-- declare the namespace for using XInclude so we can include the standard suite -->
16 <dictionary xmlns:xi="http://www.w3.org/2003/XInclude">
17  
18  
19         <!-- use XInclude to include the standard suite -->
20     <!-- <xi:include href="file:///System/Library/ScriptingDefinitions/CocoaStandard.sdef" xpointer="xpointer(/dictionary/suite)"/> -->
21  
22  
23         <!-- our special scripting suite for this example -->
24     <suite name="Lyx" code="LYX " description="LyX scripting facilities.">
25         
26         <record-type name="LyX return value" code="LyxR">
27             <property name="code" code="code" type="integer"
28                 description="Error code (0 in case of success).">
29                 <cocoa key="code"/>
30             </property>            
31             <property name="message" code="mess" type="text"
32                 description="The returned message.">
33                 <cocoa key="message"/>
34             </property>
35         </record-type>
36         
37         <command name="run" code="SLyxComm" description="run a simple command with one parameter">
38                         <cocoa class="LyxCommand"/>
39                         
40                         <direct-parameter description="The command to be executed.">
41                 <type type="text" list="no"/>
42             </direct-parameter>
43             
44             <parameter name="with argument" code="args" type="text">
45                 <cocoa key="arg"/>
46             </parameter>
47             
48                         <result type="LyX return value" description="Contains a code (0 for success) and the message returned by LyX"/>
49                 </command>
50
51     </suite>
52     
53     
54 </dictionary>