
/*
 * This file was generated by the SOM Compiler.
 * FileName: barking.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/barking.idl, somples.somu, som3.0 12/2/96 14:33:10 [12/4/96 15:12:46]
 * 
 * 
 * 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_Barking_h
#define SOM_Barking_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 Barking
#define Barking SOMObject
#endif

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

/*
 * Start of bindings for IDL types
 */

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

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

#define Barking_MajorVersion 0
#define Barking_MinorVersion 0

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

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

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

/*
 * Class Object and Method Token Macros
 */
#define _SOMCLASS_Barking (BarkingClassData.classObject)
#ifndef SOMGD_Barking
    #if (defined(_Barking) || defined(__Barking))
        #undef _Barking
        #undef __Barking
        #define SOMGD_Barking 1
    #else
        #define _Barking _SOMCLASS_Barking
    #endif /* _Barking */
#endif /* SOMGD_Barking */
#define Barking_classObj _SOMCLASS_Barking
#define _SOMMTOKEN_Barking(method) ((somMToken)BarkingClassData.method)

/*
 * New and Renew macros for Barking
 */
#define BarkingNew() \
   ( _Barking ? \
	_somNew(_Barking) \
	: ( BarkingNewClass(\
		Barking_MajorVersion, \
		Barking_MinorVersion),\
	   _somNew(_Barking)))
#define BarkingRenew(buf) \
   ( _Barking ? \
	_somRenew(_Barking, buf) \
	: ( BarkingNewClass(\
		Barking_MajorVersion, \
		Barking_MinorVersion),\
	   _somRenew(_Barking, buf)))

/*
 * Full Names for Inherited Methods
 */
/* overridden methods */
#define Barking_sommBeforeMethod SOMMBeforeAfter_sommBeforeMethod
#define Barking_sommAfterMethod SOMMBeforeAfter_sommAfterMethod

#ifndef SOM_DONT_USE_INHERITED_MACROS
#define Barking_somNew SOMClass_somNew
#define Barking_somNewNoInit SOMClass_somNewNoInit
#define Barking_somRenew SOMClass_somRenew
#define Barking_somRenewNoInit SOMClass_somRenewNoInit
#define Barking_somRenewNoZero SOMClass_somRenewNoZero
#define Barking_somRenewNoInitNoZero SOMClass_somRenewNoInitNoZero
#define Barking_somAllocate SOMClass_somAllocate
#define Barking_somDeallocate SOMClass_somDeallocate
#define Barking_somJoin SOMClass_somJoin
#define Barking_somEndow SOMClass_somEndow
#define Barking_somClassOfNewClassWithParents SOMClass_somClassOfNewClassWithParents
#define Barking_somInitMIClass SOMClass_somInitMIClass
#define Barking_somAddStaticMethod SOMClass_somAddStaticMethod
#define Barking_somOverrideSMethod SOMClass_somOverrideSMethod
#define Barking_somClassReady SOMClass_somClassReady
#define Barking_somAddDynamicMethod SOMClass_somAddDynamicMethod
#define Barking_somGetName SOMClass_somGetName
#define Barking_somGetVersionNumbers SOMClass_somGetVersionNumbers
#define Barking_somGetNumMethods SOMClass_somGetNumMethods
#define Barking_somGetNumStaticMethods SOMClass_somGetNumStaticMethods
#define Barking_somGetParents SOMClass_somGetParents
#define Barking_somGetInstanceSize SOMClass_somGetInstanceSize
#define Barking_somGetInstancePartSize SOMClass_somGetInstancePartSize
#define Barking_somGetInstanceToken SOMClass_somGetInstanceToken
#define Barking_somGetMemberToken SOMClass_somGetMemberToken
#define Barking_somGetClassMtab SOMClass_somGetClassMtab
#define Barking_somGetClassData SOMClass_somGetClassData
#define Barking_somSetClassData SOMClass_somSetClassData
#define Barking__get_somDataAlignment SOMClass__get_somDataAlignment
#define Barking__get_somInstanceDataOffsets SOMClass__get_somInstanceDataOffsets
#define Barking__get_somDirectInitClasses SOMClass__get_somDirectInitClasses
#define Barking_somGetMethodDescriptor SOMClass_somGetMethodDescriptor
#define Barking_somGetMethodIndex SOMClass_somGetMethodIndex
#define Barking_somGetMethodToken SOMClass_somGetMethodToken
#define Barking_somGetNthMethodInfo SOMClass_somGetNthMethodInfo
#define Barking_somGetMarshalPlan SOMClass_somGetMarshalPlan
#define Barking_somGetMethodData SOMClass_somGetMethodData
#define Barking_somGetNthMethodData SOMClass_somGetNthMethodData
#define Barking_somFindMethod SOMClass_somFindMethod
#define Barking_somFindMethodOk SOMClass_somFindMethodOk
#define Barking_somFindSMethod SOMClass_somFindSMethod
#define Barking_somFindSMethodOk SOMClass_somFindSMethodOk
#define Barking_somLookupMethod SOMClass_somLookupMethod
#define Barking_somGetApplyStub SOMClass_somGetApplyStub
#define Barking_somGetPClsMtab SOMClass_somGetPClsMtab
#define Barking_somCheckVersion SOMClass_somCheckVersion
#define Barking_somDescendedFrom SOMClass_somDescendedFrom
#define Barking_somSupportsMethod SOMClass_somSupportsMethod
#define Barking_somDefinedMethod SOMClass_somDefinedMethod
#define Barking_somMethodImplOwner SOMClass_somMethodImplOwner
#define Barking_somGetRdStub SOMClass_somGetRdStub
#define Barking_somOverrideMtab SOMClass_somOverrideMtab
#define Barking_somDefaultInit SOMObject_somDefaultInit
#define Barking_somDestruct SOMObject_somDestruct
#define Barking_somDefaultCopyInit SOMObject_somDefaultCopyInit
#define Barking_somDefaultAssign SOMObject_somDefaultAssign
#define Barking_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
#define Barking_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
#define Barking_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
#define Barking_somDefaultConstAssign SOMObject_somDefaultConstAssign
#define Barking_somDefaultVAssign SOMObject_somDefaultVAssign
#define Barking_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
#define Barking_somInit SOMObject_somInit
#define Barking_somUninit SOMObject_somUninit
#define Barking_somFree SOMObject_somFree
#define Barking_somGetClass SOMObject_somGetClass
#define Barking_somGetClassName SOMObject_somGetClassName
#define Barking_somGetSize SOMObject_somGetSize
#define Barking_somIsA SOMObject_somIsA
#define Barking_somIsInstanceOf SOMObject_somIsInstanceOf
#define Barking_somRespondsTo SOMObject_somRespondsTo
#define Barking_somDispatch SOMObject_somDispatch
#define Barking_somClassDispatch SOMObject_somClassDispatch
#define Barking_somCastObj SOMObject_somCastObj
#define Barking_somResetObj SOMObject_somResetObj
#define Barking_somPrintSelf SOMObject_somPrintSelf
#define Barking_somDumpSelf SOMObject_somDumpSelf
#define Barking_somDumpSelfInt SOMObject_somDumpSelfInt
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_Barking_h */
