summaryrefslogtreecommitdiff
path: root/CodeWarrior/Plugins/CommonFiles/FluidPanel.h
blob: 926b02907757a0e71fea61c23d72fee33582e6be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
/*
 *  FluidPanel.h - 'Fluid Panel' Drop-In Preferences
 *
 *  Copyright © 1995-2002 Metrowerks Inc.  All rights reserved.
 *
 */

#ifndef _H_FluidPanel
#define _H_FluidPanel

#ifndef __TYPES__
#	include <Types.h>
#endif


#pragma options align=mac68k


/* this is the name of the panel, as shown in the Finder */
#define kFluidPanelName	"Fluid Panel"


/*
 *	AppleScript dictionary info.  As a rule of thumb, dropin panels should use the 
 *	same terminology and numeric code in their 'aete' that the IDE uses if there 
 *	is already a similar item in the IDE's 'aete'.  That is the case here, so we 
 *	merely duplicate applicable 68K Project and 68K Linker user terms below.
 */

enum {
/*	Symbolic Name				   Code		AETE Terminology		*/
	class_Fluid				= 'Flid',

	prefsPR_ProjectType			= 'PR01',	/* Project Type			*/
	prefsPR_FileName			= 'PR02',	/* File Name			*/
	prefsLN_GenerateSymFile		= 'LN02',	/* Generate SYM File	*/
	
	/* enumeration for project type */
	enumeration_ProjectType		= 'PRPT',
	enum_Project_Application	= 'PRPA',	/* application			*/
	enum_Project_Library		= 'PRPL',	/* library				*/
	enum_Project_SharedLibrary	= 'PRPS',	/* shared library		*/
	enum_Project_CodeResource	= 'PRPC',	/* code resource		*/
	enum_Project_MPWTool		= 'PRPM'	/* MPW tool				*/
};


/* internal codes for project type */
enum { 
	kProjTypeApplication,
	kProjTypeLibrary,
	kProjTypeSharedLib,
	kProjTypeCodeResource,
	kProjTypeMPWTool
};


/*	This is the structure that is manipulated by the panel.  The Fluid 
 *	compiler & linker both "know" about this structure.
 */

typedef struct FluidPref {
	short	version;			/* version # of prefs data	*/
	short	projtype;			/* project type				*/
	char	outfile[32];		/* output file name			*/
	Boolean	linksym;			/* generate SYM file		*/
	short	dotx;				/* position of dot (!)		*/
	short	doty;
} FluidPref, **FluidPrefHandle;

#pragma options align=reset
#endif	/* _H_FluidPanel */