Difference between revisions of "Documentation/DevGuide/WritingUNO/XMain"

From Apache OpenOffice Wiki
Jump to: navigation, search
m (1 revision(s))
m
Line 8: Line 8:
 
<!--<idltopic>com.sun.star.lang.XMain</idltopic>-->
 
<!--<idltopic>com.sun.star.lang.XMain</idltopic>-->
 
The implementation of <idl>com.sun.star.lang.XMain</idl> is used for special cases. Its <code>run()</code> operation is called by the ''uno'' executable. The section [[Documentation/DevGuide/WritingUNO/The UNO Executable|The UNO Executable]] below discusses the use of <code>XMain<#/code> and the ''uno'' executable in detail.
 
The implementation of <idl>com.sun.star.lang.XMain</idl> is used for special cases. Its <code>run()</code> operation is called by the ''uno'' executable. The section [[Documentation/DevGuide/WritingUNO/The UNO Executable|The UNO Executable]] below discusses the use of <code>XMain<#/code> and the ''uno'' executable in detail.
 
+
<source lang="idl">
 
   // module com::sun::star::lang
 
   // module com::sun::star::lang
 
   interface XMain: com::sun::star::uno::XInterface
 
   interface XMain: com::sun::star::uno::XInterface
Line 14: Line 14:
 
     long run( [in] sequence< string > aArguments );  
 
     long run( [in] sequence< string > aArguments );  
 
   };
 
   };
 
+
</source>
 
{{PDL1}}
 
{{PDL1}}
 
[[Category: Writing UNO Components]]
 
[[Category: Writing UNO Components]]

Revision as of 20:56, 21 March 2008



The implementation of com.sun.star.lang.XMain is used for special cases. Its run() operation is called by the uno executable. The section The UNO Executable below discusses the use of XMain<#/code> and the uno executable in detail.

  // module com::sun::star::lang
  interface XMain: com::sun::star::uno::XInterface
  { 
    long run( [in] sequence< string > aArguments ); 
  };
Content on this page is licensed under the Public Documentation License (PDL).
Personal tools