#ifndef REZ_FOR_MACHO
	#define REZ_FOR_MACHO 0
#endif


#if REZ_FOR_MACHO
	#include <Carbon/Carbon.r>
#else
	#include "MacTypes.r"
#endif
#include "GSRsrc.r"

// See the SDK manual for a discussion of Plug-in Object resources.



resource 'PDEf' (128, "ObjectWithWidgets Object") {
	/* Universal name */	"ObjectWithWidgets",
	/* Display name */		"Sample Object With Widgets",
	/* Version */			1
};

resource 'PExt' (128, "") {
	/* Object sub-type */		0,
	/* Reset on move flag */	noResetOnMove,
	/* Reset on rotate flag */	noResetOnRotate
};

resource 'POpt' (128, "") {
	noWallInsertOnEdge,
	noWallNoBreak,
	noWallHalfBreak,
	noWallHideCaps
};

resource 'PXpr' (128, "") {
	hasExtendedPropertiesSet,
	hasUnusedClear,
	hasUnusedClear,
	hasUnusedClear,
	hasUnusedClear,
	hasUnusedClear,
	hasUnusedClear,
	hasUnusedClear,
	0
};

resource 'Chc#' (128) {
										/* Universal choice string */
										/* Localized choice string */
	{
	}
};

resource 'Chc#' (129) {
										/* Universal choice string */
										/* Localized choice string */
	{
		"v1",		"value 1",
		"v2",		"value 2",
		"v3",		"value 3",
	}
};

resource 'Prm#' (128) {
								/* Universal parameter name */
								/* Localized parameter name */
								/* Default value */
								/* Fill byte */
								/* Type */
								/* Choice ID for choices (Chc# resource) */
	{
		/* 1 */		"p1",		"Text",				"Default Text",		4,	0,		/*kFieldText*/
		/* 2 */		"p2",		"Use Custom Text",	"1",				2,	0,		/*kFieldBoolean*/
		/* 3 */		"p3",		"Custom Choice",	"c2",				8,	128,	/*kFieldPopUp*/
		/* 4 */		"p4",		"Regular Choice",	"c1",				8,	129,	/*kFieldPopUp*/
	}
};

resource 'STR#' (11000) {
	{
		"------------",
		"Edit List...",
	}
};

#include "choicesDlg.r"