home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / fnd101.zip / Add-Ons / Fnorb / examples / hello-world / HelloWorld.idl < prev    next >
Text File  |  1999-06-28  |  2KB  |  52 lines

  1. //---------------------------------------------------------------------------
  2. // Copyright (C) DSTC Pty Ltd (ACN 052 372 577) 1997, 1998, 1999
  3. // All Rights Reserved.
  4. //
  5. // The software contained on this media is the property of the DSTC Pty
  6. // Ltd.  Use of this software is strictly in accordance with the
  7. // license agreement in the accompanying LICENSE.HTML file.  If your
  8. // distribution of this software does not contain a LICENSE.HTML file
  9. // then you have no rights to use this software in any manner and
  10. // should contact DSTC at the address below to determine an appropriate
  11. // licensing arrangement.
  12. // 
  13. //      DSTC Pty Ltd
  14. //      Level 7, GP South
  15. //      Staff House Road
  16. //      University of Queensland
  17. //      St Lucia, 4072
  18. //      Australia
  19. //      Tel: +61 7 3365 4310
  20. //      Fax: +61 7 3365 4311
  21. //      Email: enquiries@dstc.edu.au
  22. // 
  23. // This software is being provided "AS IS" without warranty of any
  24. // kind.  In no event shall DSTC Pty Ltd be liable for damage of any
  25. // kind arising out of or in connection with the use or performance of
  26. // this software.
  27. //
  28. // Project:      Fnorb
  29. // File:         $Source: /units/arch/src/Fnorb/examples/hello-world/RCS/HelloWorld.idl,v $
  30. // Version:      @(#)$RCSfile: HelloWorld.idl,v $ $Revision: 1.5 $
  31. //
  32. //---------------------------------------------------------------------------
  33.  
  34. #pragma prefix "dstc.edu.au"
  35.  
  36. //
  37. // "Hello World" example!
  38. //
  39. module HelloWorld {
  40.  
  41.     const string Message = "Hello CORBA World!";
  42.  
  43.     interface HelloWorldIF {
  44.     //
  45.     // The IDL version of the old faithful, 'Hello World' example!
  46.     //
  47.     // This operation takes no parameters and returns a string.
  48.     //
  49.     string hello_world();
  50.     };            
  51. };
  52.