<?xml version="1.0" encoding="utf-8" standalone="yes"?>

<?xml-stylesheet href="./_c74_ref.xsl" type="text/xsl"?>

<!--This is an automatically generated file. DO NOT EDIT THIS FILE DIRECTLY. Rather, use the _ref.xml files found in the 'edits' folder.-->
<c74object name="gestalt" module="max" category="System">
	<digest>
		Retrieve system information
	</digest>
	<description>
	</description>
	<!--METADATA-->
	<metadatalist>
		<metadata name="author">
			Cycling '74
		</metadata>
		<metadata name="tag">
			Max
		</metadata>
		<metadata name="tag">
			System
		</metadata>
	</metadatalist>
	<!--INLETS-->
	<inletlist>
		<inlet id="0" type="INLET_TYPE">
			<digest>
				symbol Reports System Information
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
		<inlet id="1" type="INLET_TYPE">
			<digest>
				symbol Reports System Information
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
	</inletlist>
	<!--OUTLETS-->
	<outletlist>
		<outlet id="0" type="OUTLET_TYPE">
			<digest>
				Response to System Information Query
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
		<outlet id="1" type="OUTLET_TYPE">
			<digest>
				Error Code Returned by Query
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
	</outletlist>
	<!--ARGUMENTS-->
	<objarglist>
		<objarg id="0" name="OBJARG_NAME" type="OBJARG_TYPE" optional="0">
			<digest>
				TEXT_HERE
			</digest>
			<description>
				TEXT_HERE
			</description>
		</objarg>
	</objarglist>
	<!--MESSAGES-->
	<methodlist>
		<method name="bang">
			<arglist />
			<digest>
				Output previous data
			</digest>
			<description>
				<m>bang</m> message causes <o>gestalt</o> to repeat its previous output.
			</description>
		</method>
		<method name="anything">
			<arglist>
				<arg name="selector" optional="0" type="symbol" />
			</arglist>
			<digest>
				Return selected system data
			</digest>
			<description>
				Performs the same function as <m>symbol</m>.
			</description>
		</method>
		<method name="symbol">
			<arglist>
				<arg name="selector" optional="0" type="symbol" />
			</arglist>
			<digest>
				Return selected system data
			</digest>
			<description>
				The <m>symbol</m> message containing a Gestalt selector will return the appropriate system specific information. Some sample selectors are &quot;sysv&quot; to return the system version and &quot;qtim&quot; to return the quicktime version.
			</description>
		</method>
	</methodlist>
	<!--ATTRIBUTES-->
	<!--EXAMPLE-->
	<examplelist>
		<example img="gestalt.png" caption="gestalt can give you info about the system in use and info about hardware features" />
	</examplelist>
	<!--SEEALSO-->
	<seealsolist>
		<seealso name="screensize" />
	</seealsolist>
	<discussion>
		<o>gestalt</o> uses the Macintosh function &quot;Gestalt&quot; to return information about the current hardware and software. For a list of Gestalt selectors and responses consult Apple developer documentation. On Windows, this function is emulated, and may consequently report slightly different, though meaningful, information.
	</discussion>
	<misc name="Output">
		<entry name="int">
			<description>
				Out left outlet If there was no error in obtaining the response to a selector to the object, the response is sent out the left outlet. Binary or hex display and/or the use of the bitwise and operator <o>&amp;</o> may aid in interpreting the response.
				<br />
				<br />
				Out right outlet: If there was an error in obtaining the response to a selector, an error code is sent out the right outlet. Refer to Apple developer documentation for a complete list of error codes. If the input selector was undefined, <m>-1</m> is sent out. If there was no error, <m>0</m> is sent out.
			</description>
		</entry>
	</misc>
</c74object>
