/***********************************************************************
!!!!!! DO NOT MODIFY !!!!!!

THIS FILE IS GENERATED BY W05_COMPILE

This file is generated by Workflow compiler
https://github.com/vczh-libraries
***********************************************************************/

#ifndef W05_SCRIPT_W05SCRIPT
#define W05_SCRIPT_W05SCRIPT

#include "../../W05_Lib/W05_Lib.h"
#include "VlppWorkflowLibrary.h"

#if defined( _MSC_VER)
#pragma warning(push)
#pragma warning(disable:4250)
#elif defined(__clang__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wparentheses-equality"
#elif defined(__GNUC__)
#pragma GCC diagnostic push
#endif

namespace vl_workflow_global
{
	class __vwsnc1_W05Script_myscript_MyApp_CreateScripting__myapi_IScripting;
}

namespace myscript
{
	class MyApp;

	class MyApp : public ::vl::Object, public ::vl::reflection::Description<MyApp>
	{
		friend class ::vl_workflow_global::__vwsnc1_W05Script_myscript_MyApp_CreateScripting__myapi_IScripting;
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
		friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<MyApp>;
#endif
	public:
		MyApp();
		::vl::Ptr<::myapi::IScripting> CreateScripting();
	};

}
/***********************************************************************
Global Variables and Functions
***********************************************************************/

namespace vl_workflow_global
{
	class W05Script
	{
	public:

		static W05Script& Instance();
	};

/***********************************************************************
Closures
***********************************************************************/

	class __vwsnc1_W05Script_myscript_MyApp_CreateScripting__myapi_IScripting : public ::vl::Object, public virtual ::myapi::IScripting
	{
	public:
		::myscript::MyApp* __vwsnthis_0;

		__vwsnc1_W05Script_myscript_MyApp_CreateScripting__myapi_IScripting(::myscript::MyApp* __vwsnctorthis_0);

		void Execute(const ::vl::WString& name) override;
	};
}

#if defined( _MSC_VER)
#pragma warning(pop)
#elif defined(__clang__)
#pragma clang diagnostic pop
#elif defined(__GNUC__)
#pragma GCC diagnostic pop
#endif

#endif
