#ifdef __PRIVATE__
//#
//#	File:		Clock.idl
//#
//#	Contains:	Class definition for Clock part editor
//#
//#	Written by:	Tantek elik
//#
//#	Copyright:	c 1993-94 by Apple Computer, Inc., all rights reserved.
//#
//#	Change History (most recent first):
//#
//#		 <9>	 1/13/95	RR		Removed overrides of HandleEventInEmbedded,
//#									MouseEnter, MouseWIthin and MouseLeave.
//#									Moved functionality to HandleEvent
//#		 <8>	11/28/94	RR		Misc. cleanup
//#		 <7>	 11/1/94	RR		Moved all instance variables to helper
//#									object
//#		 <6>	  9/9/94	CG		#1183531: PartWrapper API implementation.
//#		 <5>	 8/18/94	jpa		Changed CalcActualClockShape to take an
//#									ODFrame, so it can use a factory to create
//#									its shape. [1181835]
//#		 <4>	 8/10/94	NP		1179997-remove redefinition of Purge.
//#		 <3>	  8/5/94	JBS		#1179151 Part API cleanup
//#		 <2>	 7/28/94	T		updated comments
//#		 <1>	 7/28/94	T		first checked in
//#		 <0>	 7/27/94	SV		SOMverted
//#		<28>	 3/25/94	VL		#1147173: Moved constructor, destructor and
//#									init methods to private by convention.
//#		<27>	 3/15/94	MB		Changes to support SCpp/ASLM builds,
//#									#1150864.
//#		<26>	  2/4/94	T		class ODSemanticInterface;
//#		<25>	  2/4/94	T		DONT #include header files for Class
//#									Definitions
//#		<24>	  2/4/94	VL		Removed Shape.h
//#		<23>	  2/2/94	JBS		removed sourceFrame from AddDisplayFrame()
//#		<22>	 1/27/94	RR		Added private CreateWindow
//#		<21>	 1/24/94	SS		Additional work on Open method
//#		<20>	 1/24/94	CC		Added ODChangeID parameter to
//#									LinkUpdated().
//#		<19>	 1/20/94	SS		::Open returns a window id
//#		<18>	 1/15/94	RR		WinState.h->WinStat.h,
//#									Dispatch.h->Disptch.h
//#		<17>	 1/11/94	T		Init... changes
//#		<16>	12/22/93	RR		Changed fSettingsWindow to type ODID
//#		<15>	12/21/93	JBS		CreateFrame with viewType & presentation
//#		<14>	12/20/93	SS		Added PartsBin support
//#		<13>	12/16/93	RR		Added fields for settings dialogs etc.
//#		<12>	12/13/93	T		InitPart changes
//#		<11>	12/13/93	RR		Added fields for wake-up dialog
//#									(Implementation not yet checked in)
//#		<10>	11/30/93	LM		Added an ODFrame parameter to ReadPartInfo
//#		 <9>	11/23/93	JA		Updated for new Shape API.
//#		 <8>	11/22/93	T		modifications to use correct part storage
//#									model and moved defines to ClockDef.h
//#		 <7>	11/16/93	SS		Added "FacetAdded" method
//#		 <6>	11/16/93	RR		Added AdjustMenus (not yet called), and
//#									MouseWithin. Removed point from MouseLeave
//#		 <5>	11/15/93	CC		Added CreateLink() and LinkUpdated()
//#		 <4>	11/12/93	JBS		use Facets
//#		 <3>	10/21/93	PH		Change FulfillPromise call
//#		 <2>	10/14/93	RR		Added sourceFrame parameter to
//#									AddDisplayFrame
//#		<19>	 9/30/93	PH		Support new Drag and Drop protocol
//#		<18>	 9/30/93	RR		Added fFocusSet
//#		<17>	 9/29/93	VL		Added InitializePersistent and removed
//#									InitStructFields.
//#		<16>	 9/16/93	RR		Added fMenuBar
//#		<15>	 8/20/93	CG		Removed all SemtIntf test methods.
//#		<14>	  8/9/93	NP		Added class id string.
//#		<13>	 7/26/93	CG		Added Reply handler to SemtIntf test
//#									methods.
//#		<12>	 7/20/93	PH		Fix menus
//#		<11>	 7/20/93	CG		Added SemtIntf test methods and fields.
//#		<42>	 6/23/93	RCR		Use tokens for foci
//#		 <11>	 5/19/93	RCR		Part.h NameSmith.
//#		 <7>	 4/29/93	VL		8.3 Name Changes.
//#		 <2>	  4/1/93	SES		Added new methods for menu handling and did some general
//#									housecleaning.
//#		 <1>	 3/29/93	SES		first checked in
#else
//#	Copyright:	c 1994 by Apple Computer, Inc., all rights reserved.
#endif 

#ifndef _CLOCK_
#define _CLOCK_

#ifndef _PART_
#include "Part.idl"
#endif 

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

interface  ODEmbeddedFramesIterator;
interface  ODFacet;
interface  ODFrame;
interface  ODMenuBar;
interface  ODFocusSet;
interface  ODShape;
interface  ODStorageUnit;
interface  ODSession;
interface  ODWindow;
interface  ODSemanticInterface;

#ifdef __PRIVATE__
//==============================================================================
// Implementation Types
//==============================================================================

typedef somToken  ClockPart;

#endif 

//==============================================================================
// Clock
//==============================================================================

module AppleTestClock
{

interface Clock : ODPart
{
#ifdef __SOMIDL__
  implementation
	{
	override:
		somInit,
		somUninit,
		Purge,
		Externalize,
		Release,
		ReleaseAll,
		HasExtension,
		GetExtension,
		FulfillPromise,
		DropCompleted,
		DragEnter,
		DragWithin,
		DragLeave,
		Drop,
		ContainingPartPropertiesChanged,
		GetContainingPartProperties,
		RevealFrame,
		EmbeddedFrameSpec,
		CreateEmbeddedFramesIterator,
        DisplayFrameAdded,
        DisplayFrameRemoved,
        DisplayFrameConnected,
        DisplayFrameClosed,
        AttachSourceFrame,
		GeometryChanged,
		FrameShapeChanged,
		ViewTypeChanged,
		PresentationChanged,
		SequenceChanged,
		WritePartInfo,
		ReadPartInfo,
		Open,
		RequestEmbeddedFrame,
		RemoveEmbeddedFrame,
		RequestFrameShape,
		UsedShapeChanged,
		AdjustBorderShape,
		FacetAdded,
		FacetRemoved,
		CanvasChanged,
		Draw,
		CanvasUpdated,
		HighlightChanged,
		GetPrintResolution,
		CreateLink,
		LinkUpdated,
		RevealLink,
		EmbeddedFrameChanged,
		LinkStatusChanged,
		BeginRelinquishFocus,
		CommitRelinquishFocus,
		AbortRelinquishFocus,
		FocusAcquired,
		FocusLost,
		CloneInto,
		ExternalizeKinds,
		ChangeKind,
		HandleEvent,
		AdjustMenus,
		UndoAction,
		RedoAction,
		DisposeActionState,
		WriteActionState,
		ReadActionState,
		InitPart,
		InitPartFromStorage,
      MouseEnter,
      MouseWithin,
      MouseLeave;


	majorversion = 1; minorversion = 0;
#ifdef __PRIVATE__
		passthru C_xih = ""
			"class ClockPart;"
			""
			;

		ClockPart*	fClockPart;	
	#endif 


  };
#endif 
};

};  //# Module
#endif //_CLOCK_

