/*------------------------------------------------------------------------------*
 * File Name: XFWizScript.h														*
 * Creation: Sim 03-20-2007														*
 * Purpose: Origin C Header Files												*
 * Copyright (c) ABCD Corp.	2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010		*
 * All Rights Reserved															*
 * 																				*
 * Modification Log:															*
 *------------------------------------------------------------------------------*/

#ifndef __XF_WIZ_SCRIPT_H__
#define __XF_WIZ_SCRIPT_H__

#include <..\OriginLab\XFWiz.h>
#include <..\OriginLab\XFWizManager.h>

class XFWizRunModelScript : public XFWizRunModelBase
{
public:
	XFWizRunModelScript();
};
class XFWizRunModelRecalculate : public XFWizRunModelScript
{
public:
	XFWizRunModelRecalculate();
};

class XFWizScript
{
public:
	XFWizScript(XFWizManager &xfwizManager);
	~XFWizScript();
public:
	/// Iris 11/06/2008 v8.0966b IMPROVE_GET_SOURCE_GRAPH_CODES
	//bool		Run(const TreeNode& trThemes = NULL, const TreeNode& trInputsOutputs = NULL, DWORD dwUIDOp = 0);
	//virtual bool		Run(const TreeNode& trThemes = NULL, const TreeNode& trInputsOutputs = NULL, DWORD dwUIDOp = 0);
	///end IMPROVE_GET_SOURCE_GRAPH_CODES
	
	bool		Run();
	
protected:
	//virtual XFCore*						CreateXFCore();
	//virtual XFWizTheme*					CreateXFWizTheme();
	//virtual XFWizInputOutputRange*		CreateXFWizInputOutputRange();
	
	//int		UpdateOperation(DWORD dwUIDOp);
	//PFNDoWizOp							GetDoWizOp();
	bool	IsRecalculate();
	
protected:
	//XFWizTheme				*m_pXFWizTheme;
	//XFWizInputOutputRange	*m_pXFWizIO;
	//XFWizNavigation			*m_pXFWizNavg;
	XFWizManager			*m_pXFWizManager;
	
	XFWizRunModelScript		*m_pXFWizRM;
};

#endif		//__XF_WIZ_SCRIPT_H__