
/*
 * This file was generated by the SOM Compiler.
 * FileName: fb_3.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_3.idl, somples.somu, som3.0 12/2/96 14:34:41 [12/4/96 15:12:52]
 * 
 * 
 * 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_3_h
#define SOM_FB_3_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_3
#define FB_3 SOMObject
#endif

/*
 * Include Parent Bindings
 */
#ifndef SOM_BarkingDog_h
#ifdef SOMLOCALINCLUDES
#include "bdog.h"
#else
#include <bdog.h>
#endif
#endif

/*
 * Start of bindings for IDL types
 */

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

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

#define FB_3_MajorVersion 0
#define FB_3_MinorVersion 0

/*
 * Include the metaclass file
 */
#ifndef SOM_Fierce_h
#ifdef SOMLOCALINCLUDES
#include "fierce.h"
#else
#include <fierce.h>
#endif
#endif

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

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

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

/*
 * Class Object and Method Token Macros
 */
#define _SOMCLASS_FB_3 (FB_3ClassData.classObject)
#ifndef SOMGD_FB_3
    #if (defined(_FB_3) || defined(__FB_3))
        #undef _FB_3
        #undef __FB_3
        #define SOMGD_FB_3 1
    #else
        #define _FB_3 _SOMCLASS_FB_3
    #endif /* _FB_3 */
#endif /* SOMGD_FB_3 */
#define FB_3_classObj _SOMCLASS_FB_3
#define _SOMMTOKEN_FB_3(method) ((somMToken)FB_3ClassData.method)

/*
 * New and Renew macros for FB_3
 */
#define FB_3New() \
   ( _FB_3 ? \
	_somNew(_FB_3) \
	: ( FB_3NewClass(\
		FB_3_MajorVersion, \
		FB_3_MinorVersion),\
	   _somNew(_FB_3)))
#define FB_3Renew(buf) \
   ( _FB_3 ? \
	_somRenew(_FB_3, buf) \
	: ( FB_3NewClass(\
		FB_3_MajorVersion, \
		FB_3_MinorVersion),\
	   _somRenew(_FB_3, buf)))

/*
 * Full Names for Inherited Methods
 */

#ifndef SOM_DONT_USE_INHERITED_MACROS
#define FB_3_dogActivity Dog_dogActivity
#define FB_3_DogSet Dog_DogSet
#define FB_3_DogGet Dog_DogGet
#define FB_3_somDefaultInit SOMObject_somDefaultInit
#define FB_3_somDestruct SOMObject_somDestruct
#define FB_3_somDefaultCopyInit SOMObject_somDefaultCopyInit
#define FB_3_somDefaultAssign SOMObject_somDefaultAssign
#define FB_3_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
#define FB_3_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
#define FB_3_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
#define FB_3_somDefaultConstAssign SOMObject_somDefaultConstAssign
#define FB_3_somDefaultVAssign SOMObject_somDefaultVAssign
#define FB_3_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
#define FB_3_somInit SOMObject_somInit
#define FB_3_somUninit SOMObject_somUninit
#define FB_3_somFree SOMObject_somFree
#define FB_3_somGetClass SOMObject_somGetClass
#define FB_3_somGetClassName SOMObject_somGetClassName
#define FB_3_somGetSize SOMObject_somGetSize
#define FB_3_somIsA SOMObject_somIsA
#define FB_3_somIsInstanceOf SOMObject_somIsInstanceOf
#define FB_3_somRespondsTo SOMObject_somRespondsTo
#define FB_3_somDispatch SOMObject_somDispatch
#define FB_3_somClassDispatch SOMObject_somClassDispatch
#define FB_3_somCastObj SOMObject_somCastObj
#define FB_3_somResetObj SOMObject_somResetObj
#define FB_3_somPrintSelf SOMObject_somPrintSelf
#define FB_3_somDumpSelf SOMObject_somDumpSelf
#define FB_3_somDumpSelfInt SOMObject_somDumpSelfInt
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_FB_3_h */
