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

From Apache OpenOffice Wiki
Jump to: navigation, search
(Initial author Sun Microsystems, Inc.)
 
m (FINAL VERSION FOR L10N)
(8 intermediate revisions by 4 users not shown)
Line 5: Line 5:
 
|NextPage=Documentation/DevGuide/WritingUNO/XAggregation
 
|NextPage=Documentation/DevGuide/WritingUNO/XAggregation
 
}}
 
}}
 +
{{Documentation/DevGuideLanguages|Documentation/DevGuide/WritingUNO/{{SUBPAGENAME}}}}
 
{{DISPLAYTITLE:XMain}}
 
{{DISPLAYTITLE:XMain}}
 
<!--<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 15:
 
     long run( [in] sequence< string > aArguments );  
 
     long run( [in] sequence< string > aArguments );  
 
   };
 
   };
 +
</source>
 +
{{PDL1}}
  
{{PDL1}}
+
[[Category:Documentation/Developer's Guide/Writing UNO Components]]
[[Category: Writing UNO Components]]
+

Revision as of 08:49, 13 May 2009



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 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
In other languages