/*
	File:		ClockDef.h

	Contains:	Defines for Clock code & resources

	Written by:	Tantek €elik

	Copyright:	c 1993-94 by Apple Computer, Inc., all rights reserved.

	Change History (most recent first):

		 <2>	 8/17/94	CG		#1181487: Changed Class ID for SOM
									instantiating by name.
		 <1>	 7/28/94	T€		first checked in
		 <0>	 7/27/94	SV		SOMverted
		 <8>	 3/28/94	CG		1150376: No longer support ASLM versioning.
		 <7>	  2/8/94	JA		Moved 'kNMAPIDxx' consts to Clock.r
		 <6>	 1/18/94	CG		Added define for file type.
		 <5>	 1/14/94	CG		Added defines for user strings.
		 <4>	 1/12/94	CG		Added kNMAPid1 and 2.
		 <3>	12/16/93	RR		Changed dialog ids to avoid overlap
		 <2>	12/16/93	RR		Added ids for alerts, dialogs and menus
		 <1>	11/22/93	T€		first checked in

	To Do:
		Put strings in STR resources.
*/

#ifndef _CLOCKDEF_
#define _CLOCKDEF_

#ifndef SOM_Module_OpenDoc_StdDefs_defined
	#include "StdDefs.h"
#endif SOM_Module_OpenDoc_StdDefs_defined

// Kind
#define kODKindTestClock "Apple:Kind:TestClock"

// Class ID
#define kClockPartID "AppleTestClock::Clock"

// Editor User String
#define kClockEditorUserString "Test Clock 1.0"

// Kind User String
#define kClockKindUserString "Test Clock"

// Category User String
#define kClockCategoryUserString "Time"

// Clock OSType
#define kClockOSType 'CLCK'

#define kODClockPart_Size_Font        	kODPartCmdRangeBegin+1009
#define kODClockPart_Preferences        kODPartCmdRangeBegin+2009
#define kClock_FontMenuID 				kODPartCmdRangeBegin+2010

#define kClock_AboutBoxID			4128
#define kClock_SynchronizeDialogID	4129
#define kClock_SettingsDialogID		4130
#define kClock_SettingsCheckBoxID	1

//#define kNMAPid1 kNMAPid+1
//#define kNMAPid2 kNMAPid+2
//#define kNMAPid3 kNMAPid+3
//#define kNMAPid4 kNMAPid+4
//#define kNMAPid5 kNMAPid+5
//#define kNMAPid6 kNMAPid+6

// Date/Time reference defines
//#define YEAR(tm)  (tm->tm_year % 100)
//#define MONTH(tm) (tm->tm_mon  + 1)
//#define MDAY(tm)  (tm->tm_mday)
//#define WDAY(tm)  (tm->tm_wday)
//#define HOUR(tm)  (tm->tm_hour)
//#define MIN(tm)   (tm->tm_min)
//#define SEC(tm)   (tm->tm_sec)

#endif //_CLOCKDEF_

