/* @(#)Z 1.7 com/src/core/idl/NmSpcMg.idl, odcore, od96nt, odnt9712d 97/03/21 16:44:24 (96/10/29 09:22:17) */


#ifndef _NMSPCMG_
#define _NMSPCMG_

#ifndef _ODOBJECT_
#include "ODObject.idl"
#endif

//==============================================================================
// Classes defined in this interface
//==============================================================================

interface  ODNameSpaceManager;

//==============================================================================
// Classes used by this interface
//==============================================================================

interface  ODNameSpace;



//==============================================================================
// ODNameSpaceManager
//==============================================================================

interface ODNameSpaceManager :  ODObject
{
	ODNameSpace CreateNameSpace(in ODISOStr spaceName,
				 in ODNameSpace inheritsFrom,
				 in ODULong numExpectedEntries,
				 in ODNSTypeSpec	type);

	void DeleteNameSpace(in ODNameSpace theNameSpace);

	ODNameSpace HasNameSpace(in ODISOStr spaceName);

#ifdef _PLATFORM_MACINTOSH_

	void UpdatePreferences();

#endif 


#ifdef __SOMIDL__

	implementation
	{
		majorversion = 1; minorversion = 0;

		functionprefix = ODNameSpaceManager;

		override:
			somUninit,
			Purge;

		releaseorder:
			CreateNameSpace,
			DeleteNameSpace,
			HasNameSpace,

		#ifdef _PLATFORM_MACINTOSH_		// 22470
			UpdatePreferences,		// 22470
		#endif 

			reserved1,
			reserved2,
			reserved3,
			reserved4,
			reserved5,
			reserved6;

  	};

#endif 
};

#endif 
