
/*
 * This file was generated by the SOM Compiler.
 * FileName: barkobj.ih.
 * Generated using:
 *     SOM Precompiler somipc: 2.29.1.19
 *     SOM Emitter emitih.dll: 2.77.1.179
 */

/*
 *    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/barkobj.idl, somples.somu, som3.0 12/2/96 14:33:19 [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.
 */


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


#ifndef SOM_BarkingObject_ih
#define SOM_BarkingObject_ih


/*
 * Set the scope of method functions
 */
#ifndef SOM_Scope
#define SOM_Scope static
#endif

#ifndef SOM_BarkingObject_h
#include "barkobj.h"
#endif
#include <somcsr.h>
#if defined(__IBMC__) && (__IBMC__ >= 300)
  #pragma info(none)
#else
  #if defined(__IBMC__)
     #pragma checkout(suspend)
  #endif
#endif


/*
 * -- Instance data
 */
typedef void BarkingObjectData;
#define __somC_BarkingObject_NODATA

/*
 * This class introduces no instance data, so no GetData macro is provided
 */

/*
 * -- Primary Implementation File Support
 */
#if (defined(BarkingObject_Class_Source) || defined(SOM_Module_barkobj_Source))

#ifndef BarkingObjectMethodDebug
   #define BarkingObjectMethodDebug(c,m) SOMMethodDebug(c,m)
#endif  /* BarkingObjectMethodDebug */

static void SOMLINK __somC_BarkingObject_classInit(SOMClass cls);


/*
 * Init ClassData Structures
 */
struct BarkingObjectClassDataStructure SOMDLLEXPORT SOMDLINK BarkingObjectClassData = {0};
struct BarkingObjectCClassDataStructure SOMDLLEXPORT SOMDLINK BarkingObjectCClassData = {0};


/*
 * Identifiers
 */
static char __somC_Strings_BarkingObject0[] = {"BarkingObject"}; /* class name */
static char __somC_Strings_BarkingObject1[] = {"Barking"}; /* explicit metaclass name */
static char __somC_Strings_BarkingObject2[] = {"SOMObject"}; /* parent name */
static char * __somC_BarkingObject_regIdsArray[] = {
	__somC_Strings_BarkingObject0,
	__somC_Strings_BarkingObject1,
	__somC_Strings_BarkingObject2
};


/*
 * Functions for attributes.
 */

/*
 * Special Method Support
 */

/*
 * -- Routines and Structures to create the class object
 */
static SOMClass * __somC_BarkingObject_parentArray[] = {
	NULL,
};
void * __somC_BarkingObject_parentMtabs[1];

static somClassVars1 __somC_BarkingObject_classVars1 = {
	1,		/* layoutVersion */
	(void *)NULL,	/* extension */
	0,	/* dataSize */
	0,		/* type code dataAlignment */
	(somMethodPtr)0,	/* classAllocate */
	(somMethodPtr)0	/* classDeallocate */
};

static struct BarkingObjectClassDataStructure __somC_BarkingObject_resolvedMTokens;

static void * __somC_BarkingObject_CIB_unsharedClassVariablesPtr = 0;
som3ClassInfoStruct __somC_BarkingObject_ClassInfo; /* C forward reference */

SOM_CIB BarkingObject_ClassInitBlock = {
	1,	/* layoutVersion */
	&__somC_BarkingObject_classVars1,
	&__somC_BarkingObject_CIB_unsharedClassVariablesPtr,	/* unsharedVars */
	BarkingObject_MajorVersion,
	BarkingObject_MinorVersion,
	0x60004,	/* constFlags */
	0xFFFFFFFF,	/* inheritVars */
	NULL,	/* classMeta */
	(somMethodPtr) __somC_BarkingObject_classInit,	/* classInit */
	(somMethodPtr) 0,	/* classUninit */
	(somMethodPtr) 0,	/* legacyInit */
	(somMethodPtr) 0,	/* legacyUninit */
	(somMethodPtr) 0,	/* udaAssign */
	(somMethodPtr) 0,	/* udaConstAssign */
	0,	/* protectedDataOffset */
	0,	/* numEmbeddedObjs */
	0,	/* embeddedObjs */
	3,	/* numRegIds */
	__somC_BarkingObject_regIdsArray,	/* regIds */
	(sizeof(struct BarkingObjectClassDataStructure) - sizeof(SOMClass *))/sizeof(somMToken),	/* numClassDataEntries */
	(somClassDataStructurePtr)&BarkingObjectClassData,
	(somCClassDataStructurePtr)&BarkingObjectCClassData,
	&__somC_BarkingObject_ClassInfo,
	1,	/* numParents */
	(SOMClass**)__somC_BarkingObject_parentArray,	/* parents */
	1,	/* numDirectInitClasses */
	(SOMClass**)__somC_BarkingObject_parentArray,	/* directInitClasses */
	0,	/* numNewInitializers */
	0,	/* newInitializerSymbols */
	0,	/* numOvInitializers */
	0,	/* ovInitializerSymbols */
	0,	/* special overrides */
	0,	/* maxNDMethods */
	0,	/* newNDMethods */
	0,	/* numOverrides */
	0,	/* overrides */
	0,	/* numInheritedSelections */
	0,	/* inheritedSelections */
	0,	/* numMigratedMethods */
	0 	/* migrated methods */
};	/* CIB */

static som3ClassDetails __somC_BarkingObject_ClassDetails = {
	(somMethodTabPtr)NULL,	/* mtab */
	(somMethodTabPtr *)__somC_BarkingObject_parentMtabs,	/* parentMtabs */
	&BarkingObject_ClassInitBlock,	/* CIB pointer */
	(somTD_somRenewNoInitNoZeroThunk)0,	/* somRenewNoInitNoZeroThunk */
	(long)0,	/* instanceSize */
	(somMethodProc**)NULL,	/* resolvedInits */
	(somClassDataStructure *)&__somC_BarkingObject_resolvedMTokens,	/* resolvedMTokens */
	{0,0,0,0},	/* initCtrl */
	{0,0,0,0},	/* destructCtrl */
	{0,0,0,0},	/* assignCtrl */
	(long)1,	/* layoutVersion */
	(void*)NULL,	/* extension */
	(somDToken)NULL,	/* publicDataToken */
	(somDToken)NULL,	/* protectedDataToken */
};
som3ClassInfoStruct __somC_BarkingObject_ClassInfo = {
	0,	/* classObject */
	&__somC_BarkingObject_ClassDetails	/* class details */
};


/*
 * Class Creation and Initialization
 */

#if defined(__IBMC__) && (defined(_WIN32) || defined(__OS2__)) && !defined(SOM_PREWARP)
#pragma alloc_text (SEG0002, __somC_BarkingObject_classInit)
#pragma alloc_text (SEG0002, BarkingObjectNewClass)
#endif

/* classinit function */
SOM_Scope void SOMLINK __somC_BarkingObject_classInit(SOMClass somSelf)
{
   SOM_IgnoreWarning(somSelf);
}

/* NewClass Function */
SOMEXTERN SOMDLLEXPORT SOMClass  SOMLINK BarkingObjectNewClass (long reqMajorVersion, long reqMinorVersion)
{
   if (_SOMCLASS_BarkingObject && _somCheckVersion(_SOMCLASS_BarkingObject,reqMajorVersion,reqMinorVersion))
      return _SOMCLASS_BarkingObject;
__somC_BarkingObject_parentArray[0] = (SOMClass *)&_SOMCLASS_SOMObject;
BarkingObject_ClassInitBlock.classMeta= 
	(SOMClass *)&BarkingClassData.classObject;	/* classMeta */
   /* require parents */
   if (!_SOMCLASS_SOMObject) SOMObjectNewClass(SOMObject_MajorVersion,SOMObject_MinorVersion);
   /* require metaclass */
   if (!_SOMCLASS_Barking) BarkingNewClass(Barking_MajorVersion,Barking_MinorVersion);
   /* return new class */
   return somBuildClass2( &BarkingObject_ClassInitBlock, reqMajorVersion, reqMinorVersion );
}

#endif       /* Primary Implementation Support */
#if defined(__IBMC__) && (__IBMC__ >= 300)
  #pragma info(restore)
#else
  #if defined(__IBMC__)
    #pragma checkout(resume)
  #endif
#endif

#endif       /* SOM_BarkingObject_ih */
