/* #1 - Update package for your project */
package net.halcyonsolutions.cairngormchallenge.controller 
{
	
	import com.adobe.cairngorm.control.FrontController;
	/* #2 - Import your Event and Command classes */
	import net.halcyonsolutions.cairngormchallenge.command.GetProductsCommand;
	import net.halcyonsolutions.cairngormchallenge.event.GetProductsEvent;
	/* Note: This file grows with every new Event/Command pair that gets added! */
	
 	/* #3 - Name class accordingly */
	public class ApplicationController extends FrontController {
		
		/* #4 - Constructor.  Must match your class name */
		public function ApplicationController() {
			
			/* #5 - Add one addCommand() for every Event/Command pair
					addCommand() registers listeners for events specifying
					which command class is to be called when the event is dispatched. */	
			addCommand( GetProductsEvent.EVENT_GET_PRODUCTS, GetProductsCommand );	  
		
		}

	}	
}