mirror of
https://github.com/vczh-libraries/Release.git
synced 2026-05-21 04:31:33 +08:00
Update release
This commit is contained in:
@@ -30,7 +30,7 @@ namespace helloworld
|
||||
|
||||
class MainWindowConstructor : public ::vl::Object, public ::vl::reflection::Description<MainWindowConstructor>
|
||||
{
|
||||
#ifndef VCZH_DEBUG_NO_REFLECTION
|
||||
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
|
||||
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<MainWindowConstructor>;
|
||||
#endif
|
||||
protected:
|
||||
@@ -45,7 +45,7 @@ namespace helloworld
|
||||
class MainWindow : public ::vl::presentation::controls::GuiWindow, public ::helloworld::MainWindowConstructor, public ::vl::reflection::Description<MainWindow>
|
||||
{
|
||||
friend class ::helloworld::MainWindowConstructor;
|
||||
#ifndef VCZH_DEBUG_NO_REFLECTION
|
||||
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
|
||||
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<MainWindow>;
|
||||
#endif
|
||||
public:
|
||||
|
||||
@@ -34,6 +34,7 @@ namespace vl
|
||||
IMPL_CPP_TYPE_INFO(helloworld::MainWindow)
|
||||
IMPL_CPP_TYPE_INFO(helloworld::MainWindowConstructor)
|
||||
|
||||
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
|
||||
#define _ ,
|
||||
BEGIN_CLASS_MEMBER(::helloworld::MainWindow)
|
||||
CLASS_MEMBER_BASE(::vl::presentation::controls::GuiWindow)
|
||||
@@ -64,11 +65,12 @@ namespace vl
|
||||
{
|
||||
}
|
||||
};
|
||||
#endif
|
||||
#endif
|
||||
|
||||
bool LoadHelloWorldTypes()
|
||||
{
|
||||
#ifndef VCZH_DEBUG_NO_REFLECTION
|
||||
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
|
||||
if (auto manager = GetGlobalTypeManager())
|
||||
{
|
||||
return manager->AddTypeLoader(MakePtr<HelloWorldTypeLoader>());
|
||||
|
||||
@@ -65,7 +65,7 @@ namespace helloworld
|
||||
friend struct ::vl_workflow_global::__vwsnf6_HelloWorld_helloworld_MainWindowConstructor___vwsn_helloworld_MainWindow_Initialize_;
|
||||
friend struct ::vl_workflow_global::__vwsnf7_HelloWorld_helloworld_MainWindowConstructor___vwsn_helloworld_MainWindow_Initialize_;
|
||||
friend struct ::vl_workflow_global::__vwsno4_HelloWorld_helloworld_MainWindowConstructor___vwsn_helloworld_MainWindow_Initialize_;
|
||||
#ifndef VCZH_DEBUG_NO_REFLECTION
|
||||
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
|
||||
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<MainWindowConstructor>;
|
||||
#endif
|
||||
protected:
|
||||
@@ -105,7 +105,7 @@ namespace vm
|
||||
{
|
||||
class IViewModel : public virtual ::vl::reflection::IDescriptable, public ::vl::reflection::Description<IViewModel>
|
||||
{
|
||||
#ifndef VCZH_DEBUG_NO_REFLECTION
|
||||
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
|
||||
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<IViewModel>;
|
||||
#endif
|
||||
public:
|
||||
|
||||
@@ -35,6 +35,7 @@ namespace vl
|
||||
IMPL_CPP_TYPE_INFO(helloworld::MainWindowConstructor)
|
||||
IMPL_CPP_TYPE_INFO(vm::IViewModel)
|
||||
|
||||
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
|
||||
#define _ ,
|
||||
BEGIN_CLASS_MEMBER(::helloworld::MainWindow)
|
||||
CLASS_MEMBER_BASE(::vl::presentation::controls::GuiWindow)
|
||||
@@ -115,11 +116,12 @@ namespace vl
|
||||
{
|
||||
}
|
||||
};
|
||||
#endif
|
||||
#endif
|
||||
|
||||
bool LoadHelloWorldTypes()
|
||||
{
|
||||
#ifndef VCZH_DEBUG_NO_REFLECTION
|
||||
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
|
||||
if (auto manager = GetGlobalTypeManager())
|
||||
{
|
||||
return manager->AddTypeLoader(MakePtr<HelloWorldTypeLoader>());
|
||||
|
||||
@@ -38,6 +38,8 @@ namespace vl
|
||||
DECL_TYPE_INFO(::helloworld::MainWindowConstructor)
|
||||
DECL_TYPE_INFO(::vm::IViewModel)
|
||||
|
||||
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
|
||||
|
||||
BEGIN_INTERFACE_PROXY_NOPARENT_SHAREDPTR(::vm::IViewModel)
|
||||
::vl::WString GetPassword() override
|
||||
{
|
||||
@@ -68,6 +70,7 @@ namespace vl
|
||||
INVOKEGET_INTERFACE_PROXY_NOPARAMS(SignUp);
|
||||
}
|
||||
END_INTERFACE_PROXY(::vm::IViewModel)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
extern bool LoadHelloWorldTypes();
|
||||
|
||||
@@ -40,7 +40,7 @@ namespace helloworld
|
||||
friend struct ::vl_workflow_global::__vwsnf6_HelloWorld_helloworld_MainWindowConstructor___vwsn_helloworld_MainWindow_Initialize_;
|
||||
friend struct ::vl_workflow_global::__vwsnf7_HelloWorld_helloworld_MainWindowConstructor___vwsn_helloworld_MainWindow_Initialize_;
|
||||
friend struct ::vl_workflow_global::__vwsno4_HelloWorld_helloworld_MainWindowConstructor___vwsn_helloworld_MainWindow_Initialize_;
|
||||
#ifndef VCZH_DEBUG_NO_REFLECTION
|
||||
#ifdef VCZH_DESCRIPTABLEOBJECT_WITH_METADATA
|
||||
friend struct ::vl::reflection::description::CustomTypeDescriptorSelector<MainWindow>;
|
||||
#endif
|
||||
public:
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user