Files
The SOM Precompiler generates a number of files that are used to define
an object class to the Workplace Shell and to other classes that may wish
to inherit the characteristics and behaviors of the class. These files
are:
H
A public header file for programs that
use the class.
.PH
A
private header file, which provides usage bindings to any private methods
implemented by the class.
.IH
An
implementation header file, which provides macros, etc., to support the
implementation of the class.
.C
A
template C file, to which code may be added to implement the class.
.SC
A language-neutral class definition.
.PSC
A private language-neutral core file, which contains
private parts of the interface for the class.
.DEF
An OS/2 DLL module definition file containing
the relevant exports need to implement the class.
These files may then be used as input to a C compiler, generating
object code that is in turn linked to create a dynamic link library, which
implements the object class.
[Back: Defining an Object]
[Next: Class Definition File]