
/*
 * This file was generated by the SOM Compiler.
 * FileName: fb_4.h.
 * Generated using:
 *     SOM Precompiler somipc: 2.29.1.19
 *     SOM Emitter emith.dll: 2.31.1.64
 */

/*
 *    COMPONENT_NAME: somx
 * 
 *    ORIGINS: 27
 * 
 * 
 *    25H7912  (C)  COPYRIGHT International Business Machines Corp. 1992,1996
 *    All Rights Reserved
 *    Licensed Materials - Property of IBM
 *    US Government Users Restricted Rights - Use, duplication or
 *    disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
 * 
 *    @(#) 1.1 src/somples.os2/somu/c/fb/fb_4.idl, somples.somu, som3.0 12/2/96 14:34:49 [12/4/96 15:12:53]
 * 
 * 
 * DISCLAIMER OF WARRANTIES.
 * The following [enclosed] code is sample code created by IBM
 * Corporation. This sample code is not part of any standard or IBM
 * product and is provided to you solely for the purpose of assisting
 * you in the development of your applications.  The code is provided
 * "AS IS". IBM MAKES NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT
 * NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
 * FOR A PARTICULAR PURPOSE, REGARDING THE FUNCTION OR PERFORMANCE OF
 * THIS CODE.  IBM shall not be liable for any damages arising out of
 * your use of the sample code, even if they have been advised of the
 * possibility of such damages.
 * 
 * DISTRIBUTION.
 * This sample code can be freely distributed, copied, altered, and
 * incorporated into other software, provided that it bears the above
 * Copyright notice and DISCLAIMER intact.
 */


#ifndef SOM_FB_4_h
#define SOM_FB_4_h


/*
 * The SOM_STRICT_IDL macro means that we can ignore stars
 * in our declarations of objects.
 */
#define SOM_STRICT_IDL 1


#include <som.h>

/*
 * -- This emitter treats Method Tokens as Thunks by default.
 * -- Use the sc modifier "nothunks" to change this default
 */
#undef somresolve_
#define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))

/*
 * Define the class name as an object type
 */
#ifndef FB_4
#define FB_4 SOMObject
#endif

/*
 * Include Parent Bindings
 */
#ifndef SOM_FierceObject_h
#ifdef SOMLOCALINCLUDES
#include "fierobj.h"
#else
#include <fierobj.h>
#endif
#endif
#ifndef SOM_BarkingObject_h
#ifdef SOMLOCALINCLUDES
#include "barkobj.h"
#else
#include <barkobj.h>
#endif
#endif
#ifndef SOM_Dog_h
#ifdef SOMLOCALINCLUDES
#include "dog.h"
#else
#include <dog.h>
#endif
#endif

/*
 * Start of bindings for IDL types
 */

#ifndef SOMClass
    #define SOMClass SOMObject
#endif /* SOMClass */

/*
 * End of bindings for IDL types.
 */

#define FB_4_MajorVersion 0
#define FB_4_MinorVersion 0

/*
 * Declare the class creation procedure
 */
SOMEXTERN 
#if defined(SOM_Module_fb_4_Source)
        SOMDLLEXPORT
#else
    SOMDLLIMPORT
#endif
 SOMClass  SOMLINK FB_4NewClass(integer4 somtmajorVersion,
		integer4 somtminorVersion);

/*
 * Declare the ABI 2 ClassData structure
 */
SOMEXTERN struct FB_4ClassDataStructure {
	SOMClass classObject;
} 
#if defined(SOM_Module_fb_4_Source)
        SOMDLLEXPORT
#else
    SOMDLLIMPORT
#endif
 SOMDLINK FB_4ClassData;

/*
 * Declare the ABI 2 CClassData structure
 */
SOMEXTERN struct FB_4CClassDataStructure {
	somMethodTabs parentMtab;
	somDToken instanceDataToken;
} 
#if defined(SOM_Module_fb_4_Source)
        SOMDLLEXPORT
#else
    SOMDLLIMPORT
#endif
 SOMDLINK FB_4CClassData;

/*
 * Class Object and Method Token Macros
 */
#define _SOMCLASS_FB_4 (FB_4ClassData.classObject)
#ifndef SOMGD_FB_4
    #if (defined(_FB_4) || defined(__FB_4))
        #undef _FB_4
        #undef __FB_4
        #define SOMGD_FB_4 1
    #else
        #define _FB_4 _SOMCLASS_FB_4
    #endif /* _FB_4 */
#endif /* SOMGD_FB_4 */
#define FB_4_classObj _SOMCLASS_FB_4
#define _SOMMTOKEN_FB_4(method) ((somMToken)FB_4ClassData.method)

/*
 * New and Renew macros for FB_4
 */
#define FB_4New() \
   ( _FB_4 ? \
	_somNew(_FB_4) \
	: ( FB_4NewClass(\
		FB_4_MajorVersion, \
		FB_4_MinorVersion),\
	   _somNew(_FB_4)))
#define FB_4Renew(buf) \
   ( _FB_4 ? \
	_somRenew(_FB_4, buf) \
	: ( FB_4NewClass(\
		FB_4_MajorVersion, \
		FB_4_MinorVersion),\
	   _somRenew(_FB_4, buf)))

/*
 * Full Names for Inherited Methods
 */

#ifndef SOM_DONT_USE_INHERITED_MACROS
#define FB_4_somDefaultInit SOMObject_somDefaultInit
#define FB_4_somDestruct SOMObject_somDestruct
#define FB_4_somDefaultCopyInit SOMObject_somDefaultCopyInit
#define FB_4_somDefaultAssign SOMObject_somDefaultAssign
#define FB_4_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
#define FB_4_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
#define FB_4_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
#define FB_4_somDefaultConstAssign SOMObject_somDefaultConstAssign
#define FB_4_somDefaultVAssign SOMObject_somDefaultVAssign
#define FB_4_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
#define FB_4_somInit SOMObject_somInit
#define FB_4_somUninit SOMObject_somUninit
#define FB_4_somFree SOMObject_somFree
#define FB_4_somGetClass SOMObject_somGetClass
#define FB_4_somGetClassName SOMObject_somGetClassName
#define FB_4_somGetSize SOMObject_somGetSize
#define FB_4_somIsA SOMObject_somIsA
#define FB_4_somIsInstanceOf SOMObject_somIsInstanceOf
#define FB_4_somRespondsTo SOMObject_somRespondsTo
#define FB_4_somDispatch SOMObject_somDispatch
#define FB_4_somClassDispatch SOMObject_somClassDispatch
#define FB_4_somCastObj SOMObject_somCastObj
#define FB_4_somResetObj SOMObject_somResetObj
#define FB_4_somPrintSelf SOMObject_somPrintSelf
#define FB_4_somDumpSelf SOMObject_somDumpSelf
#define FB_4_somDumpSelfInt SOMObject_somDumpSelfInt
#define FB_4_dogActivity Dog_dogActivity
#define FB_4_DogSet Dog_DogSet
#define FB_4_DogGet Dog_DogGet
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_FB_4_h */
