This repository has been archived on 2024-12-16. You can view files and clone it, but cannot push or open issues or pull requests.
CodeBlocksPortable/WATCOM/samples/os2/som/hellocpp/hello.idl

15 lines
350 B
Plaintext
Raw Normal View History

#include <somobj.idl> //# Get the parent class definition.
interface Hello : SOMObject
/* This is a simple class that demonstrates how to define the
* interface to a new class of objects in SOM IDL.
*/
{
void sayHello();
// This method outputs the string "Hello, World!".
implementation {
releaseorder: sayHello;
};
};