home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
wpobj.zip
/
CLRSTAR.H
< prev
next >
Wrap
C/C++ Source or Header
|
1993-11-10
|
2KB
|
89 lines
/*
* This file was generated by the SOM Compiler.
* FileName: clrstar.h.
* Generated using:
* SOM Precompiler spc: 1.22
* SOM Emitter emith: 1.11
*/
/*
*
* MODULE NAME: ClrPalet.CSC
*
* DESCRIPTION:
* Object class definition file for StarColorPalette object class.
*/
#ifndef clrstar_h
#define clrstar_h
#include <som.h>
/*
* Define the class name as an object type
*/
#ifndef StarColorPalette
#define StarColorPalette SOMAny
#endif
#include "clrpalet.h"
#define StarColorPalette_MajorVersion 1
#define StarColorPalette_MinorVersion 2
/*
* External name shortening if required
*/
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define StarColorPaletteNewClass clrsc
#pragma linkage(clrsc, system)
#define StarColorPaletteClassData clrsd
#define StarColorPaletteCClassData clrsx
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define StarColorPalette_classObj StarColorPaletteClassData.classObject
#define _StarColorPalette StarColorPalette_classObj
/*
* New and Renew macros for StarColorPalette
*/
#define _StarColorPaletteNew() (_somNew(StarColorPaletteClassData.classObject))
#define StarColorPaletteNew() \
( StarColorPaletteClassData.classObject \
? _StarColorPaletteNew() \
: ( StarColorPaletteNewClass(StarColorPalette_MajorVersion, StarColorPalette_MinorVersion), _StarColorPaletteNew() ) )
#define StarColorPaletteRenew(buf) \
( _somRenew(StarColorPaletteClassData.classObject, buf) )
/*
* Override method: QuerySampleShape
*/
#define StarColorPalette_QuerySampleShape(somSelf,pPoints,pcPoints) \
ColorPalette_QuerySampleShape(somSelf,pPoints,pcPoints)
/*
* Declare the class creation procedure
*/
SOMEXTERN SOMAny * SOMLINK StarColorPaletteNewClass(integer4 scemajorVersion,
integer4 sceminorVersion);
#pragma linkage(StarColorPaletteNewClass, system)
/*
* Declare the class data structure
*/
SOMEXTERN struct StarColorPaletteClassDataStructure {
SOMAny *classObject;
} StarColorPaletteClassData;
/*
* Declare the C specific class data structure
*/
SOMEXTERN struct StarColorPaletteCClassDataStructure {
somMethodTab *parentMtab;
somDToken instanceDataToken;
} StarColorPaletteCClassData;
#endif /* clrstar_h */