class DeviceInkLogicControllerBase extends inkLogicController
{
	[ category = "Widget Refs" ]
	protected editable var m_targetWidgetRef : inkWidgetRef;
	[ category = "Widget Refs" ]
	protected editable var m_displayNameWidget : inkTextRef;
	protected var m_isInitialized : Bool;
	protected var m_targetWidget : weak< inkWidget >;

	protected event OnInitialize()
	{
		if( inkWidgetRef.Get( m_targetWidgetRef ) == NULL )
		{
			m_targetWidget = GetRootWidget();
		}
		else
		{
			m_targetWidget = inkWidgetRef.Get( m_targetWidgetRef );
		}
	}

	public function IsInitialized() : Bool
	{
		return m_isInitialized;
	}

}

