]> git.lyx.org Git - lyx.git/blobdiff - development/MacOSX/LyX.sdef
#5502 add binding for full screen toggle on mac
[lyx.git] / development / MacOSX / LyX.sdef
index 41f7408ea5f0b6abb8bf3e3e5565cca418f1b3d2..63b8925b8c853ee1d25db1d53282ad42aeb2c17f 100644 (file)
 -->
  
  
-    <!-- declare the namespace for using XInclude so we can include the standard suite -->
+<!-- declare the namespace for using XInclude so we can include the standard suite -->
 <dictionary xmlns:xi="http://www.w3.org/2003/XInclude">
-        <!-- use XInclude to include the standard suite -->
-    <!-- <xi:include href="file:///System/Library/ScriptingDefinitions/CocoaStandard.sdef" xpointer="xpointer(/dictionary/suite)"/> -->
-        <!-- our special scripting suite for this example -->
-    <suite name="Lyx" code="LYX " description="LyX scripting facilities.">
-        
-        <record-type name="LyX return value" code="LyxR">
-            <property name="code" code="code" type="integer"
-                description="Error code (0 in case of success).">
-                <cocoa key="code"/>
-            </property>            
-            <property name="message" code="mess" type="text"
-                description="The returned message.">
-                <cocoa key="message"/>
-            </property>
-        </record-type>
-        
-        <command name="run" code="SLyxComm" description="run a simple command with one parameter">
+
+       <!-- our special scripting suite for this example -->
+       <suite name="Lyx" code="LYX " description="LyX scripting facilities.">
+               
+          
+               <command name="run" code="SLyxComm" description="run a simple command with one parameter">
                        <cocoa class="LyxCommand"/>
                        
                        <direct-parameter description="The command to be executed.">
-                <type type="text" list="no"/>
-            </direct-parameter>
-            
-            <parameter name="with argument" code="args" type="text">
-                <cocoa key="arg"/>
-            </parameter>
-            
-                       <result type="LyX return value" description="Contains a code (0 for success) and the message returned by LyX"/>
+                               <type type="text" list="no"/>
+                       </direct-parameter>
+                       
+                       <parameter name="with argument" code="args" type="text">
+                               <cocoa key="arg"/>
+                       </parameter>
+                       
+                       <result type="text" description="The message returned by LyX"/>
                </command>
 
-    </suite>
-    
-    
+       </suite>
+       
+       
 </dictionary>
\ No newline at end of file