Update release

This commit is contained in:
Zihan Chen
2017-04-14 01:17:52 -07:00
parent f7828bd347
commit 16b3e8e024
14 changed files with 1889 additions and 2293 deletions
+997 -1295
View File
File diff suppressed because it is too large Load Diff
+215 -261
View File
File diff suppressed because it is too large Load Diff
+542 -535
View File
File diff suppressed because it is too large Load Diff
+32 -20
View File
@@ -472,7 +472,7 @@ Instance Loader
class GuiInstancePropertyInfo : public IDescriptable, public Description<GuiInstancePropertyInfo>
{
typedef collections::List<description::ITypeDescriptor*> TypeDescriptorList;
typedef collections::List<Ptr<description::ITypeInfo>> TypeInfoList;
public:
enum Support
{
@@ -495,15 +495,15 @@ Instance Loader
bool required = false; // only apply to constructor
bool bindable = false; // only apply to constructor
PropertyScope scope = Property;
TypeDescriptorList acceptableTypes;
TypeInfoList acceptableTypes;
static Ptr<GuiInstancePropertyInfo> Unsupported();
static Ptr<GuiInstancePropertyInfo> Assign(description::ITypeDescriptor* typeDescriptor = 0);
static Ptr<GuiInstancePropertyInfo> AssignWithParent(description::ITypeDescriptor* typeDescriptor = 0);
static Ptr<GuiInstancePropertyInfo> Collection(description::ITypeDescriptor* typeDescriptor = 0);
static Ptr<GuiInstancePropertyInfo> CollectionWithParent(description::ITypeDescriptor* typeDescriptor = 0);
static Ptr<GuiInstancePropertyInfo> Set(description::ITypeDescriptor* typeDescriptor = 0);
static Ptr<GuiInstancePropertyInfo> Array(description::ITypeDescriptor* typeDescriptor = 0);
static Ptr<GuiInstancePropertyInfo> Assign(Ptr<description::ITypeInfo> typeInfo);
static Ptr<GuiInstancePropertyInfo> AssignWithParent(Ptr<description::ITypeInfo> typeInfo);
static Ptr<GuiInstancePropertyInfo> Collection(Ptr<description::ITypeInfo> typeInfo);
static Ptr<GuiInstancePropertyInfo> CollectionWithParent(Ptr<description::ITypeInfo> typeInfo);
static Ptr<GuiInstancePropertyInfo> Set(Ptr<description::ITypeInfo> typeInfo);
static Ptr<GuiInstancePropertyInfo> Array(Ptr<description::ITypeInfo> typeInfo);
};
class IGuiInstanceLoader : public IDescriptable, public Description<IGuiInstanceLoader>
@@ -512,12 +512,15 @@ Instance Loader
struct TypeInfo
{
GlobalStringKey typeName;
description::ITypeDescriptor* typeDescriptor;
Ptr<description::ITypeInfo> typeInfo = nullptr;
TypeInfo() :typeDescriptor(0){}
TypeInfo(GlobalStringKey _typeName, description::ITypeDescriptor* _typeDescriptor)
TypeInfo()
{
}
TypeInfo(GlobalStringKey _typeName, Ptr<description::ITypeInfo> _typeInfo)
:typeName(_typeName)
, typeDescriptor(_typeDescriptor)
, typeInfo(_typeInfo)
{
}
};
@@ -552,7 +555,7 @@ Instance Loader
struct ArgumentInfo
{
Ptr<workflow::WfExpression> expression;
description::ITypeDescriptor* type;
Ptr<description::ITypeInfo> typeInfo;
GuiResourceTextPos attPosition;
GuiResourceTextPos valuePosition; // only apply to text value
};
@@ -596,6 +599,14 @@ Instance Binder
virtual Ptr<workflow::WfStatement> GenerateInstallStatement(GuiResourcePrecompileContext& precompileContext, types::ResolvingResult& resolvingResult, GlobalStringKey variableName, description::IEventInfo* eventInfo, const WString& code, GuiResourceTextPos position, GuiResourceError::List& errors) = 0;
};
class IGuiInstanceDeserializer : public IDescriptable, public Description<IGuiInstanceDeserializer>
{
public:
virtual bool CanDeserialize(description::ITypeInfo* typeInfo) = 0;
virtual description::ITypeInfo* DeserializeAs(description::ITypeInfo* typeInfo) = 0;
virtual Ptr<workflow::WfExpression> Deserialize(GuiResourcePrecompileContext& precompileContext, types::ResolvingResult& resolvingResult, description::ITypeInfo* typeInfo, Ptr<workflow::WfExpression> valueExpression, GuiResourceTextPos tagPosition, GuiResourceError::List& errors) = 0;
};
/***********************************************************************
Instance Loader Manager
***********************************************************************/
@@ -607,11 +618,14 @@ Instance Loader Manager
virtual IGuiInstanceBinder* GetInstanceBinder(GlobalStringKey bindingName) = 0;
virtual bool AddInstanceEventBinder(Ptr<IGuiInstanceEventBinder> binder) = 0;
virtual IGuiInstanceEventBinder* GetInstanceEventBinder(GlobalStringKey bindingName) = 0;
virtual bool AddInstanceDeserializer(Ptr<IGuiInstanceDeserializer> deserializer) = 0;
virtual IGuiInstanceDeserializer* GetInstanceDeserializer(description::ITypeInfo* typeInfo) = 0;
virtual bool CreateVirtualType(GlobalStringKey parentType, Ptr<IGuiInstanceLoader> loader) = 0;
virtual bool SetLoader(Ptr<IGuiInstanceLoader> loader) = 0;
virtual IGuiInstanceLoader* GetLoader(GlobalStringKey typeName) = 0;
virtual IGuiInstanceLoader* GetParentLoader(IGuiInstanceLoader* loader) = 0;
virtual description::ITypeDescriptor* GetTypeDescriptorForType(GlobalStringKey typeName) = 0;
virtual Ptr<description::ITypeInfo> GetTypeInfoForType(GlobalStringKey typeName) = 0;
virtual void GetVirtualTypes(collections::List<GlobalStringKey>& typeNames) = 0;
virtual GlobalStringKey GetParentTypeForVirtualType(GlobalStringKey virtualType) = 0;
virtual void ClearReflectionCache() = 0;
@@ -744,16 +758,14 @@ namespace vl
{
Ptr<GuiResourceItem> resource; // compiling resource
Ptr<GuiInstanceContext> context; // compiling context
reflection::description::ITypeDescriptor* rootTypeDescriptor = nullptr; // type of the context
IGuiInstanceLoader::TypeInfo rootTypeInfo; // type of the context
EnvironmentVariableGroup envVars; // current environment variable value stacks
collections::List<GlobalStringKey> referenceNames; // all reference names
IGuiInstanceLoader::ArgumentMap rootCtorArguments;
IGuiInstanceLoader* rootLoader = nullptr;
IGuiInstanceLoader::TypeInfo rootTypeInfo;
VariableTypeInfoMap typeInfos; // type of references
TypeOverrideMap typeOverrides; // extra type information of references
PropertyResolvingMap propertyResolvings; // information of property values which are calling constructors
};
}
@@ -793,7 +805,7 @@ WorkflowCompiler (Compile)
extern Ptr<workflow::WfClassDeclaration> Workflow_InstallClass(const WString& className, Ptr<workflow::WfModule> module);
extern Ptr<workflow::WfBlockStatement> Workflow_InstallCtorClass(types::ResolvingResult& resolvingResult, Ptr<workflow::WfModule> module);
extern void Workflow_CreatePointerVariable(Ptr<workflow::WfClassDeclaration> ctorClass, GlobalStringKey name, description::ITypeDescriptor* type, description::ITypeInfo* typeOverride);
extern void Workflow_CreatePointerVariable(Ptr<workflow::WfClassDeclaration> ctorClass, GlobalStringKey name, description::ITypeInfo* typeInfo);
extern void Workflow_CreateVariablesForReferenceValues(Ptr<workflow::WfClassDeclaration> ctorClass, types::ResolvingResult& resolvingResult);
struct InstanceLoadingSource
@@ -828,7 +840,7 @@ WorkflowCompiler (Compile)
};
extern bool Workflow_GetPropertyTypes(WString& errorPrefix, types::ResolvingResult& resolvingResult, IGuiInstanceLoader* loader, IGuiInstanceLoader::TypeInfo resolvedTypeInfo, GlobalStringKey prop, Ptr<GuiAttSetterRepr::SetterValue> setter, collections::List<types::PropertyResolving>& possibleInfos, GuiResourceError::List& errors);
extern description::ITypeDescriptor* Workflow_CollectReferences(GuiResourcePrecompileContext& precompileContext, types::ResolvingResult& resolvingResult, GuiResourceError::List& errors);
extern IGuiInstanceLoader::TypeInfo Workflow_CollectReferences(GuiResourcePrecompileContext& precompileContext, types::ResolvingResult& resolvingResult, GuiResourceError::List& errors);
extern void Workflow_GenerateCreating(GuiResourcePrecompileContext& precompileContext, types::ResolvingResult& resolvingResult, Ptr<workflow::WfBlockStatement> statements, GuiResourceError::List& errors);
extern void Workflow_GenerateBindings(GuiResourcePrecompileContext& precompileContext, types::ResolvingResult& resolvingResult, Ptr<workflow::WfBlockStatement> statements, GuiResourceError::List& errors);
@@ -1342,7 +1354,7 @@ GuiVrtualTypeInstanceLoader
{
if (propertyInfo.propertyName == GlobalStringKey::_ControlTemplate)
{
auto info = GuiInstancePropertyInfo::Assign(description::GetTypeDescriptor<WString>());
auto info = GuiInstancePropertyInfo::Assign(TypeInfoRetriver<WString>::CreateTypeInfo());
info->scope = GuiInstancePropertyInfo::Constructor;
return info;
}
+6 -39
View File
@@ -1812,27 +1812,14 @@ Type Declaration
CLASS_MEMBER_METHOD(OnTotalSizeChanged, NO_PARAMETER)
END_INTERFACE_MEMBER(GuiListControl::IItemArrangerCallback)
BEGIN_INTERFACE_MEMBER(GuiListControl::IItemPrimaryTextView)
CLASS_MEMBER_BASE(IDescriptable)
INTERFACE_IDENTIFIER(GuiListControl::IItemPrimaryTextView)
CLASS_MEMBER_METHOD(GetPrimaryTextViewText, {L"itemIndex"})
CLASS_MEMBER_METHOD(ContainsPrimaryText, {L"itemIndex"})
END_INTERFACE_MEMBER(GuiListControl::IItemPrimaryTextView)
BEGIN_INTERFACE_MEMBER(GuiListControl::IItemBindingView)
CLASS_MEMBER_BASE(IDescriptable)
INTERFACE_IDENTIFIER(GuiListControl::IItemBindingView)
CLASS_MEMBER_METHOD(GetBindingValue, {L"itemIndex"})
END_INTERFACE_MEMBER(GuiListControl::IItemBindingView)
BEGIN_INTERFACE_MEMBER(GuiListControl::IItemProvider)
CLASS_MEMBER_BASE(IDescriptable)
CLASS_MEMBER_METHOD(AttachCallback, {L"value"})
CLASS_MEMBER_METHOD(DetachCallback, {L"value"})
CLASS_MEMBER_METHOD(Count, NO_PARAMETER)
CLASS_MEMBER_METHOD(GetTextValue, { L"itemIndex" })
CLASS_MEMBER_METHOD(GetBindingValue, { L"itemIndex" })
CLASS_MEMBER_METHOD(RequestView, {L"identifier"})
CLASS_MEMBER_METHOD(ReleaseView, {L"view"})
END_INTERFACE_MEMBER(GuiListControl::IItemProvider)
@@ -1855,8 +1842,7 @@ Type Declaration
CLASS_MEMBER_METHOD(AttachListControl, {L"value"})
CLASS_MEMBER_METHOD(DetachListControl, NO_PARAMETER)
CLASS_MEMBER_METHOD(GetItemStyleId, {L"itemIndex"})
CLASS_MEMBER_METHOD(CreateItemStyle, {L"styleId"})
CLASS_MEMBER_METHOD(CreateItemStyle, NO_PARAMETER)
CLASS_MEMBER_METHOD(DestroyItemStyle, {L"style"})
CLASS_MEMBER_METHOD(Install, {L"style" _ L"itemIndex"})
END_INTERFACE_MEMBER(GuiListControl::IItemStyleProvider)
@@ -1934,10 +1920,8 @@ Type Declaration
END_INTERFACE_MEMBER(TextItemStyleProvider::IBulletFactory)
BEGIN_INTERFACE_MEMBER(TextItemStyleProvider::ITextItemView)
CLASS_MEMBER_BASE(GuiListControl::IItemPrimaryTextView)
INTERFACE_IDENTIFIER(TextItemStyleProvider::ITextItemView)
CLASS_MEMBER_METHOD(GetText, {L"itemIndex"})
CLASS_MEMBER_METHOD(GetChecked, {L"itemIndex"})
CLASS_MEMBER_METHOD(SetCheckedSilently, {L"itemIndex" _ L"value"})
END_INTERFACE_MEMBER(TextItemStyleProvider::ITextItemView)
@@ -2041,7 +2025,6 @@ Type Declaration
END_CLASS_MEMBER(ListViewItemStyleProvider)
BEGIN_INTERFACE_MEMBER(ListViewItemStyleProvider::IListViewItemView)
CLASS_MEMBER_BASE(GuiListControl::IItemPrimaryTextView)
INTERFACE_IDENTIFIER(ListViewItemStyleProvider::IListViewItemView)
CLASS_MEMBER_METHOD(GetSmallImage, {L"itemIndex"})
@@ -2273,12 +2256,13 @@ Type Declaration
CLASS_MEMBER_METHOD(GetNodeByVisibleIndex, {L"index"})
CLASS_MEMBER_METHOD(AttachCallback, {L"value"})
CLASS_MEMBER_METHOD(DetachCallback, {L"value"})
CLASS_MEMBER_METHOD(GetTextValue, { L"node" })
CLASS_MEMBER_METHOD(GetBindingValue, { L"node" })
CLASS_MEMBER_METHOD(RequestView, {L"identifier"})
CLASS_MEMBER_METHOD(ReleaseView, {L"value"})
END_INTERFACE_MEMBER(INodeRootProvider)
BEGIN_INTERFACE_MEMBER(INodeItemView)
CLASS_MEMBER_BASE(GuiListControl::IItemPrimaryTextView)
INTERFACE_IDENTIFIER(INodeItemView)
CLASS_MEMBER_METHOD(RequestNode, {L"index"})
@@ -2286,20 +2270,6 @@ Type Declaration
CLASS_MEMBER_METHOD(CalculateNodeVisibilityIndex, {L"node"})
END_INTERFACE_MEMBER(INodeItemView)
BEGIN_INTERFACE_MEMBER(INodeItemPrimaryTextView)
CLASS_MEMBER_BASE(IDescriptable)
INTERFACE_IDENTIFIER(INodeItemPrimaryTextView)
CLASS_MEMBER_METHOD(GetPrimaryTextViewText, {L"node"})
END_INTERFACE_MEMBER(INodeItemPrimaryTextView)
BEGIN_INTERFACE_MEMBER(INodeItemBindingView)
CLASS_MEMBER_BASE(IDescriptable)
INTERFACE_IDENTIFIER(INodeItemBindingView)
CLASS_MEMBER_METHOD(GetBindingValue, {L"node"})
END_INTERFACE_MEMBER(INodeItemBindingView)
BEGIN_INTERFACE_MEMBER(INodeItemStyleController)
CLASS_MEMBER_BASE(GuiListControl::IItemStyleController)
@@ -2314,8 +2284,7 @@ Type Declaration
CLASS_MEMBER_METHOD(BindItemStyleProvider, {L"styleProvider"})
CLASS_MEMBER_METHOD(AttachListControl, {L"value"})
CLASS_MEMBER_METHOD(DetachListControl, NO_PARAMETER)
CLASS_MEMBER_METHOD(GetItemStyleId, {L"node"})
CLASS_MEMBER_METHOD(CreateItemStyle, {L"styleId"})
CLASS_MEMBER_METHOD(CreateItemStyle, NO_PARAMETER)
CLASS_MEMBER_METHOD(DestroyItemStyle, {L"style"})
CLASS_MEMBER_METHOD(Install, {L"style" _ L"node" _ L"index"})
CLASS_MEMBER_METHOD(SetStyleIndex, {L"style" _ L"value"})
@@ -2350,7 +2319,6 @@ Type Declaration
BEGIN_CLASS_MEMBER(MemoryNodeRootProvider)
CLASS_MEMBER_BASE(MemoryNodeProvider)
CLASS_MEMBER_BASE(NodeRootProviderBase)
CLASS_MEMBER_CONSTRUCTOR(Ptr<MemoryNodeRootProvider>(), NO_PARAMETER)
CLASS_MEMBER_PROPERTY_READONLY_FAST(RootNode)
@@ -2382,7 +2350,6 @@ Type Declaration
END_CLASS_MEMBER(GuiVirtualTreeListControl)
BEGIN_INTERFACE_MEMBER(ITreeViewItemView)
CLASS_MEMBER_BASE(INodeItemPrimaryTextView)
INTERFACE_IDENTIFIER(ITreeViewItemView)
CLASS_MEMBER_METHOD(GetNodeImage, {L"node"})
+28 -74
View File
@@ -474,8 +474,6 @@ Type List
F(presentation::controls::GuiListControl)\
F(presentation::controls::GuiListControl::IItemProviderCallback)\
F(presentation::controls::GuiListControl::IItemArrangerCallback)\
F(presentation::controls::GuiListControl::IItemPrimaryTextView)\
F(presentation::controls::GuiListControl::IItemBindingView)\
F(presentation::controls::GuiListControl::IItemProvider)\
F(presentation::controls::GuiListControl::IItemStyleController)\
F(presentation::controls::GuiListControl::IItemStyleProvider)\
@@ -529,8 +527,6 @@ Type List
F(presentation::controls::tree::INodeProvider)\
F(presentation::controls::tree::INodeRootProvider)\
F(presentation::controls::tree::INodeItemView)\
F(presentation::controls::tree::INodeItemPrimaryTextView)\
F(presentation::controls::tree::INodeItemBindingView)\
F(presentation::controls::tree::INodeItemStyleController)\
F(presentation::controls::tree::INodeItemStyleProvider)\
F(presentation::controls::tree::NodeItemStyleProvider)\
@@ -862,29 +858,6 @@ Interface Proxy
}
END_INTERFACE_PROXY(presentation::controls::GuiListControl::IItemProviderCallback)
BEGIN_INTERFACE_PROXY_SHAREDPTR(presentation::controls::GuiListControl::IItemPrimaryTextView,
presentation::controls::GuiListControl::IItemProviderCallback
)
WString GetPrimaryTextViewText(vint itemIndex)override
{
INVOKEGET_INTERFACE_PROXY(GetPrimaryTextViewText, itemIndex);
}
bool ContainsPrimaryText(vint itemIndex)override
{
INVOKEGET_INTERFACE_PROXY(ContainsPrimaryText, itemIndex);
}
END_INTERFACE_PROXY(presentation::controls::GuiListControl::IItemPrimaryTextView)
BEGIN_INTERFACE_PROXY_NOPARENT_SHAREDPTR(presentation::controls::GuiListControl::IItemBindingView)
description::Value GetBindingValue(vint itemIndex)override
{
INVOKEGET_INTERFACE_PROXY(GetBindingValue, itemIndex);
}
END_INTERFACE_PROXY(presentation::controls::GuiListControl::IItemBindingView)
BEGIN_INTERFACE_PROXY_NOPARENT_SHAREDPTR(presentation::controls::GuiListControl::IItemProvider)
bool AttachCallback(presentation::controls::GuiListControl::IItemProviderCallback* value)override
@@ -902,6 +875,16 @@ Interface Proxy
INVOKEGET_INTERFACE_PROXY_NOPARAMS(Count);
}
WString GetTextValue(vint itemIndex)override
{
INVOKEGET_INTERFACE_PROXY(GetTextValue, itemIndex);
}
description::Value GetBindingValue(vint itemIndex)override
{
INVOKEGET_INTERFACE_PROXY(GetBindingValue, itemIndex);
}
IDescriptable* RequestView(const WString& identifier)override
{
INVOKEGET_INTERFACE_PROXY(RequestView, identifier);
@@ -963,14 +946,9 @@ Interface Proxy
INVOKE_INTERFACE_PROXY_NOPARAMS(DetachListControl);
}
vint GetItemStyleId(vint itemIndex)override
presentation::controls::GuiListControl::IItemStyleController* CreateItemStyle()override
{
INVOKEGET_INTERFACE_PROXY(GetItemStyleId, itemIndex);
}
presentation::controls::GuiListControl::IItemStyleController* CreateItemStyle(vint styleId)override
{
INVOKEGET_INTERFACE_PROXY(CreateItemStyle, styleId);
INVOKEGET_INTERFACE_PROXY_NOPARAMS(CreateItemStyle);
}
void DestroyItemStyle(presentation::controls::GuiListControl::IItemStyleController* style)override
@@ -1067,14 +1045,7 @@ Interface Proxy
}
END_INTERFACE_PROXY(presentation::controls::list::TextItemStyleProvider::IBulletFactory)
BEGIN_INTERFACE_PROXY_SHAREDPTR(presentation::controls::list::TextItemStyleProvider::ITextItemView,
presentation::controls::GuiListControl::IItemPrimaryTextView
)
WString GetText(vint itemIndex)override
{
INVOKEGET_INTERFACE_PROXY(GetText, itemIndex);
}
BEGIN_INTERFACE_PROXY_NOPARENT_SHAREDPTR(presentation::controls::list::TextItemStyleProvider::ITextItemView)
bool GetChecked(vint itemIndex)override
{
@@ -1132,9 +1103,7 @@ Interface Proxy
}
END_INTERFACE_PROXY(presentation::controls::GuiListViewBase::IStyleProvider)
BEGIN_INTERFACE_PROXY_SHAREDPTR(presentation::controls::list::ListViewItemStyleProvider::IListViewItemView,
presentation::controls::GuiListControl::IItemPrimaryTextView
)
BEGIN_INTERFACE_PROXY_NOPARENT_SHAREDPTR(presentation::controls::list::ListViewItemStyleProvider::IListViewItemView)
Ptr<presentation::GuiImageData> GetSmallImage(vint itemIndex)override
{
@@ -1386,6 +1355,16 @@ Interface Proxy
INVOKEGET_INTERFACE_PROXY(DetachCallback, value);
}
WString GetTextValue(presentation::controls::tree::INodeProvider* node)override
{
INVOKEGET_INTERFACE_PROXY(GetTextValue, node);
}
description::Value GetBindingValue(presentation::controls::tree::INodeProvider* node)override
{
INVOKEGET_INTERFACE_PROXY(GetBindingValue, node);
}
IDescriptable* RequestView(const WString& identifier)override
{
INVOKEGET_INTERFACE_PROXY(RequestView, identifier);
@@ -1397,9 +1376,7 @@ Interface Proxy
}
END_INTERFACE_PROXY(presentation::controls::tree::INodeRootProvider)
BEGIN_INTERFACE_PROXY_SHAREDPTR(presentation::controls::tree::INodeItemView,
presentation::controls::GuiListControl::IItemPrimaryTextView
)
BEGIN_INTERFACE_PROXY_NOPARENT_SHAREDPTR(presentation::controls::tree::INodeItemView)
presentation::controls::tree::INodeProvider* RequestNode(vint index)override
{
@@ -1417,22 +1394,6 @@ Interface Proxy
}
END_INTERFACE_PROXY(presentation::controls::tree::INodeItemView)
BEGIN_INTERFACE_PROXY_NOPARENT_SHAREDPTR(presentation::controls::tree::INodeItemPrimaryTextView)
WString GetPrimaryTextViewText(presentation::controls::tree::INodeProvider* node)override
{
INVOKEGET_INTERFACE_PROXY(GetPrimaryTextViewText, node);
}
END_INTERFACE_PROXY(presentation::controls::tree::INodeItemPrimaryTextView)
BEGIN_INTERFACE_PROXY_NOPARENT_SHAREDPTR(presentation::controls::tree::INodeItemBindingView)
description::Value GetBindingValue(presentation::controls::tree::INodeProvider* node)override
{
INVOKEGET_INTERFACE_PROXY(GetBindingValue, node);
}
END_INTERFACE_PROXY(presentation::controls::tree::INodeItemBindingView)
BEGIN_INTERFACE_PROXY_RAWPTR(presentation::controls::tree::INodeItemStyleController,
presentation::controls::GuiListControl::IItemStyleController
)
@@ -1465,14 +1426,9 @@ Interface Proxy
INVOKE_INTERFACE_PROXY_NOPARAMS(DetachListControl);
}
vint GetItemStyleId(presentation::controls::tree::INodeProvider* node)override
presentation::controls::tree::INodeItemStyleController* CreateItemStyle()override
{
INVOKEGET_INTERFACE_PROXY(GetItemStyleId, node);
}
presentation::controls::tree::INodeItemStyleController* CreateItemStyle(vint styleId)override
{
INVOKEGET_INTERFACE_PROXY(CreateItemStyle, styleId);
INVOKEGET_INTERFACE_PROXY_NOPARAMS(CreateItemStyle);
}
void DestroyItemStyle(presentation::controls::tree::INodeItemStyleController* style)override
@@ -1499,9 +1455,7 @@ Interface Proxy
BEGIN_INTERFACE_PROXY_NOPARENT_SHAREDPTR(presentation::controls::tree::IMemoryNodeData)
END_INTERFACE_PROXY(presentation::controls::tree::IMemoryNodeData)
BEGIN_INTERFACE_PROXY_SHAREDPTR(presentation::controls::tree::ITreeViewItemView,
presentation::controls::tree::INodeItemPrimaryTextView
)
BEGIN_INTERFACE_PROXY_NOPARENT_SHAREDPTR(presentation::controls::tree::ITreeViewItemView)
Ptr<presentation::GuiImageData> GetNodeImage(presentation::controls::tree::INodeProvider* node)override
{
BIN
View File
Binary file not shown.
@@ -1,4 +1,4 @@
/***********************************************************************
/***********************************************************************
!!!!!! DO NOT MODIFY !!!!!!
GacGen.exe Resource.xml
@@ -19120,7 +19120,7 @@ Class (::darkskin::DocumentLabelTemplateConstructor)
auto __vwsn_resource_value_ = ::vl::__vwsn::SharedPtrCast<::vl::presentation::DocumentModel>(__vwsn_resource_item_.Obj());
if ((! static_cast<bool>(__vwsn_resource_value_)))
{
throw ::vl::Exception(::vl::WString(L"Resource \"res://DarkSkin/BaselineDocument\" cannot be read as type \"presentation::DocumentModel\".", false));
throw ::vl::Exception(::vl::WString(L"Resource \"res://DarkSkin/BaselineDocument\" cannot be read as type \"presentation::DocumentModel^\".", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::This(this)->self)->SetBaselineDocument(__vwsn_resource_value_);
@@ -19207,7 +19207,7 @@ Class (::darkskin::DocumentViewerTemplateConstructor)
auto __vwsn_resource_value_ = ::vl::__vwsn::SharedPtrCast<::vl::presentation::DocumentModel>(__vwsn_resource_item_.Obj());
if ((! static_cast<bool>(__vwsn_resource_value_)))
{
throw ::vl::Exception(::vl::WString(L"Resource \"res://DarkSkin/BaselineDocument\" cannot be read as type \"presentation::DocumentModel\".", false));
throw ::vl::Exception(::vl::WString(L"Resource \"res://DarkSkin/BaselineDocument\" cannot be read as type \"presentation::DocumentModel^\".", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::This(this)->self)->SetBaselineDocument(__vwsn_resource_value_);
@@ -25659,7 +25659,7 @@ namespace demo
auto __vwsn_resource_value_ = ::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(__vwsn_resource_item_.Obj());
if ((! static_cast<bool>(__vwsn_resource_value_)))
{
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/_New.png\" cannot be read as type \"presentation::GuiImageData\".", false));
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/_New.png\" cannot be read as type \"presentation::GuiImageData^\".", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::This(this)->commandFileNew)->SetImage(__vwsn_resource_value_);
@@ -25674,7 +25674,7 @@ namespace demo
auto __vwsn_resource_value_ = ::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(__vwsn_resource_item_.Obj());
if ((! static_cast<bool>(__vwsn_resource_value_)))
{
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/_New.png\" cannot be read as type \"presentation::GuiImageData\".", false));
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/_New.png\" cannot be read as type \"presentation::GuiImageData^\".", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::This(this)->commandFileNewText)->SetImage(__vwsn_resource_value_);
@@ -25689,7 +25689,7 @@ namespace demo
auto __vwsn_resource_value_ = ::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(__vwsn_resource_item_.Obj());
if ((! static_cast<bool>(__vwsn_resource_value_)))
{
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/_New.png\" cannot be read as type \"presentation::GuiImageData\".", false));
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/_New.png\" cannot be read as type \"presentation::GuiImageData^\".", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::This(this)->commandFileNewRtf)->SetImage(__vwsn_resource_value_);
@@ -25704,7 +25704,7 @@ namespace demo
auto __vwsn_resource_value_ = ::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(__vwsn_resource_item_.Obj());
if ((! static_cast<bool>(__vwsn_resource_value_)))
{
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/_Open.png\" cannot be read as type \"presentation::GuiImageData\".", false));
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/_Open.png\" cannot be read as type \"presentation::GuiImageData^\".", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::This(this)->commandFileOpen)->SetImage(__vwsn_resource_value_);
@@ -25719,7 +25719,7 @@ namespace demo
auto __vwsn_resource_value_ = ::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(__vwsn_resource_item_.Obj());
if ((! static_cast<bool>(__vwsn_resource_value_)))
{
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/_Open.png\" cannot be read as type \"presentation::GuiImageData\".", false));
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/_Open.png\" cannot be read as type \"presentation::GuiImageData^\".", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::This(this)->commandFileOpenText)->SetImage(__vwsn_resource_value_);
@@ -25734,7 +25734,7 @@ namespace demo
auto __vwsn_resource_value_ = ::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(__vwsn_resource_item_.Obj());
if ((! static_cast<bool>(__vwsn_resource_value_)))
{
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/_Open.png\" cannot be read as type \"presentation::GuiImageData\".", false));
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/_Open.png\" cannot be read as type \"presentation::GuiImageData^\".", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::This(this)->commandFileOpenRtf)->SetImage(__vwsn_resource_value_);
@@ -25749,7 +25749,7 @@ namespace demo
auto __vwsn_resource_value_ = ::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(__vwsn_resource_item_.Obj());
if ((! static_cast<bool>(__vwsn_resource_value_)))
{
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/_Save.png\" cannot be read as type \"presentation::GuiImageData\".", false));
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/_Save.png\" cannot be read as type \"presentation::GuiImageData^\".", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::This(this)->commandFileSave)->SetImage(__vwsn_resource_value_);
@@ -25764,7 +25764,7 @@ namespace demo
auto __vwsn_resource_value_ = ::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(__vwsn_resource_item_.Obj());
if ((! static_cast<bool>(__vwsn_resource_value_)))
{
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/_SaveAs.png\" cannot be read as type \"presentation::GuiImageData\".", false));
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/_SaveAs.png\" cannot be read as type \"presentation::GuiImageData^\".", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::This(this)->commandFileSaveAs)->SetImage(__vwsn_resource_value_);
@@ -25779,7 +25779,7 @@ namespace demo
auto __vwsn_resource_value_ = ::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(__vwsn_resource_item_.Obj());
if ((! static_cast<bool>(__vwsn_resource_value_)))
{
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/_Print.png\" cannot be read as type \"presentation::GuiImageData\".", false));
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/_Print.png\" cannot be read as type \"presentation::GuiImageData^\".", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::This(this)->commandFilePrint)->SetImage(__vwsn_resource_value_);
@@ -25794,7 +25794,7 @@ namespace demo
auto __vwsn_resource_value_ = ::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(__vwsn_resource_item_.Obj());
if ((! static_cast<bool>(__vwsn_resource_value_)))
{
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/_Undo.png\" cannot be read as type \"presentation::GuiImageData\".", false));
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/_Undo.png\" cannot be read as type \"presentation::GuiImageData^\".", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::This(this)->commandEditUndo)->SetImage(__vwsn_resource_value_);
@@ -25809,7 +25809,7 @@ namespace demo
auto __vwsn_resource_value_ = ::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(__vwsn_resource_item_.Obj());
if ((! static_cast<bool>(__vwsn_resource_value_)))
{
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/_Redo.png\" cannot be read as type \"presentation::GuiImageData\".", false));
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/_Redo.png\" cannot be read as type \"presentation::GuiImageData^\".", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::This(this)->commandEditRedo)->SetImage(__vwsn_resource_value_);
@@ -25824,7 +25824,7 @@ namespace demo
auto __vwsn_resource_value_ = ::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(__vwsn_resource_item_.Obj());
if ((! static_cast<bool>(__vwsn_resource_value_)))
{
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/_Cut.png\" cannot be read as type \"presentation::GuiImageData\".", false));
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/_Cut.png\" cannot be read as type \"presentation::GuiImageData^\".", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::This(this)->commandEditCut)->SetImage(__vwsn_resource_value_);
@@ -25839,7 +25839,7 @@ namespace demo
auto __vwsn_resource_value_ = ::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(__vwsn_resource_item_.Obj());
if ((! static_cast<bool>(__vwsn_resource_value_)))
{
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/_Copy.png\" cannot be read as type \"presentation::GuiImageData\".", false));
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/_Copy.png\" cannot be read as type \"presentation::GuiImageData^\".", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::This(this)->commandEditCopy)->SetImage(__vwsn_resource_value_);
@@ -25854,7 +25854,7 @@ namespace demo
auto __vwsn_resource_value_ = ::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(__vwsn_resource_item_.Obj());
if ((! static_cast<bool>(__vwsn_resource_value_)))
{
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/_Paste.png\" cannot be read as type \"presentation::GuiImageData\".", false));
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/_Paste.png\" cannot be read as type \"presentation::GuiImageData^\".", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::This(this)->commandEditPaste)->SetImage(__vwsn_resource_value_);
@@ -25869,7 +25869,7 @@ namespace demo
auto __vwsn_resource_value_ = ::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(__vwsn_resource_item_.Obj());
if ((! static_cast<bool>(__vwsn_resource_value_)))
{
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/_Delete.png\" cannot be read as type \"presentation::GuiImageData\".", false));
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/_Delete.png\" cannot be read as type \"presentation::GuiImageData^\".", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::This(this)->commandEditDelete)->SetImage(__vwsn_resource_value_);
@@ -25923,7 +25923,7 @@ namespace demo
auto __vwsn_resource_value_ = ::vl::__vwsn::SharedPtrCast<::vl::presentation::DocumentModel>(__vwsn_resource_item_.Obj());
if ((! static_cast<bool>(__vwsn_resource_value_)))
{
throw ::vl::Exception(::vl::WString(L"Resource \"res://Documents/Simple\" cannot be read as type \"presentation::DocumentModel\".", false));
throw ::vl::Exception(::vl::WString(L"Resource \"res://Documents/Simple\" cannot be read as type \"presentation::DocumentModel^\".", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::This(this)->__vwsn_precompile_75)->SetDocument(__vwsn_resource_value_);
@@ -25941,7 +25941,7 @@ namespace demo
auto __vwsn_resource_value_ = ::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(__vwsn_resource_item_.Obj());
if ((! static_cast<bool>(__vwsn_resource_value_)))
{
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/OfficeWord.ico\" cannot be read as type \"presentation::GuiImageData\".", false));
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/OfficeWord.ico\" cannot be read as type \"presentation::GuiImageData^\".", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::This(this)->__vwsn_precompile_175.Obj())->SetSmallImage(__vwsn_resource_value_);
@@ -25956,7 +25956,7 @@ namespace demo
auto __vwsn_resource_value_ = ::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(__vwsn_resource_item_.Obj());
if ((! static_cast<bool>(__vwsn_resource_value_)))
{
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/OfficeExcel.ico\" cannot be read as type \"presentation::GuiImageData\".", false));
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/OfficeExcel.ico\" cannot be read as type \"presentation::GuiImageData^\".", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::This(this)->__vwsn_precompile_176.Obj())->SetSmallImage(__vwsn_resource_value_);
@@ -25971,7 +25971,7 @@ namespace demo
auto __vwsn_resource_value_ = ::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(__vwsn_resource_item_.Obj());
if ((! static_cast<bool>(__vwsn_resource_value_)))
{
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/OfficePowerPoint.ico\" cannot be read as type \"presentation::GuiImageData\".", false));
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/OfficePowerPoint.ico\" cannot be read as type \"presentation::GuiImageData^\".", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::This(this)->__vwsn_precompile_177.Obj())->SetSmallImage(__vwsn_resource_value_);
@@ -25986,7 +25986,7 @@ namespace demo
auto __vwsn_resource_value_ = ::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(__vwsn_resource_item_.Obj());
if ((! static_cast<bool>(__vwsn_resource_value_)))
{
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/OfficeOutlook.ico\" cannot be read as type \"presentation::GuiImageData\".", false));
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/OfficeOutlook.ico\" cannot be read as type \"presentation::GuiImageData^\".", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::This(this)->__vwsn_precompile_178.Obj())->SetSmallImage(__vwsn_resource_value_);
@@ -26001,7 +26001,7 @@ namespace demo
auto __vwsn_resource_value_ = ::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(__vwsn_resource_item_.Obj());
if ((! static_cast<bool>(__vwsn_resource_value_)))
{
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/OfficeOneNote.ico\" cannot be read as type \"presentation::GuiImageData\".", false));
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/OfficeOneNote.ico\" cannot be read as type \"presentation::GuiImageData^\".", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::This(this)->__vwsn_precompile_179.Obj())->SetSmallImage(__vwsn_resource_value_);
@@ -26016,7 +26016,7 @@ namespace demo
auto __vwsn_resource_value_ = ::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(__vwsn_resource_item_.Obj());
if ((! static_cast<bool>(__vwsn_resource_value_)))
{
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/OfficeWord.ico\" cannot be read as type \"presentation::GuiImageData\".", false));
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/OfficeWord.ico\" cannot be read as type \"presentation::GuiImageData^\".", false));
}
{
(::vl::__vwsn::This(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::controls::tree::TreeViewItem>(::vl::__vwsn::This(::vl::__vwsn::This(this)->__vwsn_precompile_186.Obj())->GetData().Obj())).Obj())->image = __vwsn_resource_value_);
@@ -26032,7 +26032,7 @@ namespace demo
auto __vwsn_resource_value_ = ::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(__vwsn_resource_item_.Obj());
if ((! static_cast<bool>(__vwsn_resource_value_)))
{
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/OfficeExcel.ico\" cannot be read as type \"presentation::GuiImageData\".", false));
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/OfficeExcel.ico\" cannot be read as type \"presentation::GuiImageData^\".", false));
}
{
(::vl::__vwsn::This(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::controls::tree::TreeViewItem>(::vl::__vwsn::This(::vl::__vwsn::This(this)->__vwsn_precompile_187.Obj())->GetData().Obj())).Obj())->image = __vwsn_resource_value_);
@@ -26048,7 +26048,7 @@ namespace demo
auto __vwsn_resource_value_ = ::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(__vwsn_resource_item_.Obj());
if ((! static_cast<bool>(__vwsn_resource_value_)))
{
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/OfficePowerPoint.ico\" cannot be read as type \"presentation::GuiImageData\".", false));
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/OfficePowerPoint.ico\" cannot be read as type \"presentation::GuiImageData^\".", false));
}
{
(::vl::__vwsn::This(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::controls::tree::TreeViewItem>(::vl::__vwsn::This(::vl::__vwsn::This(this)->__vwsn_precompile_188.Obj())->GetData().Obj())).Obj())->image = __vwsn_resource_value_);
@@ -26064,7 +26064,7 @@ namespace demo
auto __vwsn_resource_value_ = ::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(__vwsn_resource_item_.Obj());
if ((! static_cast<bool>(__vwsn_resource_value_)))
{
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/OfficeOutlook.ico\" cannot be read as type \"presentation::GuiImageData\".", false));
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/OfficeOutlook.ico\" cannot be read as type \"presentation::GuiImageData^\".", false));
}
{
(::vl::__vwsn::This(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::controls::tree::TreeViewItem>(::vl::__vwsn::This(::vl::__vwsn::This(this)->__vwsn_precompile_189.Obj())->GetData().Obj())).Obj())->image = __vwsn_resource_value_);
@@ -26080,7 +26080,7 @@ namespace demo
auto __vwsn_resource_value_ = ::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(__vwsn_resource_item_.Obj());
if ((! static_cast<bool>(__vwsn_resource_value_)))
{
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/OfficeOneNote.ico\" cannot be read as type \"presentation::GuiImageData\".", false));
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/OfficeOneNote.ico\" cannot be read as type \"presentation::GuiImageData^\".", false));
}
{
(::vl::__vwsn::This(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::controls::tree::TreeViewItem>(::vl::__vwsn::This(::vl::__vwsn::This(this)->__vwsn_precompile_190.Obj())->GetData().Obj())).Obj())->image = __vwsn_resource_value_);
@@ -26096,7 +26096,7 @@ namespace demo
auto __vwsn_resource_value_ = ::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(__vwsn_resource_item_.Obj());
if ((! static_cast<bool>(__vwsn_resource_value_)))
{
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/OfficeWord.ico\" cannot be read as type \"presentation::GuiImageData\".", false));
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/OfficeWord.ico\" cannot be read as type \"presentation::GuiImageData^\".", false));
}
{
(::vl::__vwsn::This(::vl::__vwsn::Ensure(::vl::__vwsn::SharedPtrCast<::vl::presentation::controls::tree::TreeViewItem>(::vl::__vwsn::This(::vl::__vwsn::This(this)->__vwsn_precompile_185.Obj())->GetData().Obj())).Obj())->image = __vwsn_resource_value_);
@@ -26112,7 +26112,7 @@ namespace demo
auto __vwsn_resource_value_ = ::vl::__vwsn::SharedPtrCast<::vl::presentation::DocumentModel>(__vwsn_resource_item_.Obj());
if ((! static_cast<bool>(__vwsn_resource_value_)))
{
throw ::vl::Exception(::vl::WString(L"Resource \"res://Documents/XmlDocDemo.xml\" cannot be read as type \"presentation::DocumentModel\".", false));
throw ::vl::Exception(::vl::WString(L"Resource \"res://Documents/XmlDocDemo.xml\" cannot be read as type \"presentation::DocumentModel^\".", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::This(this)->__vwsn_precompile_209)->SetDocument(__vwsn_resource_value_);
@@ -1,4 +1,4 @@
/***********************************************************************
/***********************************************************************
!!!!!! DO NOT MODIFY !!!!!!
GacGen.exe Resource.xml
@@ -2348,7 +2348,7 @@ namespace demo
auto __vwsn_resource_value_ = ::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(__vwsn_resource_item_.Obj());
if ((! static_cast<bool>(__vwsn_resource_value_)))
{
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/NewFolder\" cannot be read as type \"presentation::GuiImageData\".", false));
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/NewFolder\" cannot be read as type \"presentation::GuiImageData^\".", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::This(this)->commandNewFolder)->SetImage(__vwsn_resource_value_);
@@ -2372,7 +2372,7 @@ namespace demo
auto __vwsn_resource_value_ = ::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(__vwsn_resource_item_.Obj());
if ((! static_cast<bool>(__vwsn_resource_value_)))
{
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/Delete\" cannot be read as type \"presentation::GuiImageData\".", false));
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/Delete\" cannot be read as type \"presentation::GuiImageData^\".", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::This(this)->commandDeleteFolder)->SetImage(__vwsn_resource_value_);
@@ -2396,7 +2396,7 @@ namespace demo
auto __vwsn_resource_value_ = ::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(__vwsn_resource_item_.Obj());
if ((! static_cast<bool>(__vwsn_resource_value_)))
{
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/NewContact\" cannot be read as type \"presentation::GuiImageData\".", false));
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/NewContact\" cannot be read as type \"presentation::GuiImageData^\".", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::This(this)->commandNewContact)->SetImage(__vwsn_resource_value_);
@@ -2420,7 +2420,7 @@ namespace demo
auto __vwsn_resource_value_ = ::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(__vwsn_resource_item_.Obj());
if ((! static_cast<bool>(__vwsn_resource_value_)))
{
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/Edit\" cannot be read as type \"presentation::GuiImageData\".", false));
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/Edit\" cannot be read as type \"presentation::GuiImageData^\".", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::This(this)->commandEditContact)->SetImage(__vwsn_resource_value_);
@@ -2444,7 +2444,7 @@ namespace demo
auto __vwsn_resource_value_ = ::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(__vwsn_resource_item_.Obj());
if ((! static_cast<bool>(__vwsn_resource_value_)))
{
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/Delete\" cannot be read as type \"presentation::GuiImageData\".", false));
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/Delete\" cannot be read as type \"presentation::GuiImageData^\".", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::This(this)->commandDeleteContact)->SetImage(__vwsn_resource_value_);
@@ -2468,7 +2468,7 @@ namespace demo
auto __vwsn_resource_value_ = ::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(__vwsn_resource_item_.Obj());
if ((! static_cast<bool>(__vwsn_resource_value_)))
{
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/BigIcon\" cannot be read as type \"presentation::GuiImageData\".", false));
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/BigIcon\" cannot be read as type \"presentation::GuiImageData^\".", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::This(this)->commandBigIcon)->SetImage(__vwsn_resource_value_);
@@ -2486,7 +2486,7 @@ namespace demo
auto __vwsn_resource_value_ = ::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(__vwsn_resource_item_.Obj());
if ((! static_cast<bool>(__vwsn_resource_value_)))
{
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/SmallIcon\" cannot be read as type \"presentation::GuiImageData\".", false));
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/SmallIcon\" cannot be read as type \"presentation::GuiImageData^\".", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::This(this)->commandSmallIcon)->SetImage(__vwsn_resource_value_);
@@ -2504,7 +2504,7 @@ namespace demo
auto __vwsn_resource_value_ = ::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(__vwsn_resource_item_.Obj());
if ((! static_cast<bool>(__vwsn_resource_value_)))
{
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/List\" cannot be read as type \"presentation::GuiImageData\".", false));
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/List\" cannot be read as type \"presentation::GuiImageData^\".", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::This(this)->commandList)->SetImage(__vwsn_resource_value_);
@@ -2522,7 +2522,7 @@ namespace demo
auto __vwsn_resource_value_ = ::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(__vwsn_resource_item_.Obj());
if ((! static_cast<bool>(__vwsn_resource_value_)))
{
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/Detail\" cannot be read as type \"presentation::GuiImageData\".", false));
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/Detail\" cannot be read as type \"presentation::GuiImageData^\".", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::This(this)->commandDetail)->SetImage(__vwsn_resource_value_);
@@ -2540,7 +2540,7 @@ namespace demo
auto __vwsn_resource_value_ = ::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(__vwsn_resource_item_.Obj());
if ((! static_cast<bool>(__vwsn_resource_value_)))
{
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/Tile\" cannot be read as type \"presentation::GuiImageData\".", false));
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/Tile\" cannot be read as type \"presentation::GuiImageData^\".", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::This(this)->commandTile)->SetImage(__vwsn_resource_value_);
@@ -2558,7 +2558,7 @@ namespace demo
auto __vwsn_resource_value_ = ::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(__vwsn_resource_item_.Obj());
if ((! static_cast<bool>(__vwsn_resource_value_)))
{
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/Information\" cannot be read as type \"presentation::GuiImageData\".", false));
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/Information\" cannot be read as type \"presentation::GuiImageData^\".", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::This(this)->commandInformation)->SetImage(__vwsn_resource_value_);
@@ -1,4 +1,4 @@
/***********************************************************************
/***********************************************************************
!!!!!! DO NOT MODIFY !!!!!!
GacGen.exe Resource.xml
@@ -1,4 +1,4 @@
/***********************************************************************
/***********************************************************************
!!!!!! DO NOT MODIFY !!!!!!
GacGen.exe Resource.xml
@@ -1812,7 +1812,7 @@ namespace demo
auto __vwsn_resource_value_ = ::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(__vwsn_resource_item_.Obj());
if ((! static_cast<bool>(__vwsn_resource_value_)))
{
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/NewText.png\" cannot be read as type \"presentation::GuiImageData\".", false));
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/NewText.png\" cannot be read as type \"presentation::GuiImageData^\".", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::This(this)->commandFileNewText)->SetImage(__vwsn_resource_value_);
@@ -1830,7 +1830,7 @@ namespace demo
auto __vwsn_resource_value_ = ::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(__vwsn_resource_item_.Obj());
if ((! static_cast<bool>(__vwsn_resource_value_)))
{
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/NewXml.png\" cannot be read as type \"presentation::GuiImageData\".", false));
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/NewXml.png\" cannot be read as type \"presentation::GuiImageData^\".", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::This(this)->commandFileNewXml)->SetImage(__vwsn_resource_value_);
@@ -1848,7 +1848,7 @@ namespace demo
auto __vwsn_resource_value_ = ::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(__vwsn_resource_item_.Obj());
if ((! static_cast<bool>(__vwsn_resource_value_)))
{
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/Open.png\" cannot be read as type \"presentation::GuiImageData\".", false));
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/Open.png\" cannot be read as type \"presentation::GuiImageData^\".", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::This(this)->commandFileOpen)->SetImage(__vwsn_resource_value_);
@@ -1866,7 +1866,7 @@ namespace demo
auto __vwsn_resource_value_ = ::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(__vwsn_resource_item_.Obj());
if ((! static_cast<bool>(__vwsn_resource_value_)))
{
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/NewText.png\" cannot be read as type \"presentation::GuiImageData\".", false));
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/NewText.png\" cannot be read as type \"presentation::GuiImageData^\".", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::This(this)->commandFileOpenText)->SetImage(__vwsn_resource_value_);
@@ -1884,7 +1884,7 @@ namespace demo
auto __vwsn_resource_value_ = ::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(__vwsn_resource_item_.Obj());
if ((! static_cast<bool>(__vwsn_resource_value_)))
{
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/NewXml.png\" cannot be read as type \"presentation::GuiImageData\".", false));
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/NewXml.png\" cannot be read as type \"presentation::GuiImageData^\".", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::This(this)->commandFileOpenXml)->SetImage(__vwsn_resource_value_);
@@ -1902,7 +1902,7 @@ namespace demo
auto __vwsn_resource_value_ = ::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(__vwsn_resource_item_.Obj());
if ((! static_cast<bool>(__vwsn_resource_value_)))
{
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/Save.png\" cannot be read as type \"presentation::GuiImageData\".", false));
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/Save.png\" cannot be read as type \"presentation::GuiImageData^\".", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::This(this)->commandFileSave)->SetImage(__vwsn_resource_value_);
@@ -1920,7 +1920,7 @@ namespace demo
auto __vwsn_resource_value_ = ::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(__vwsn_resource_item_.Obj());
if ((! static_cast<bool>(__vwsn_resource_value_)))
{
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/SaveAs.png\" cannot be read as type \"presentation::GuiImageData\".", false));
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/SaveAs.png\" cannot be read as type \"presentation::GuiImageData^\".", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::This(this)->commandFileSaveAs)->SetImage(__vwsn_resource_value_);
@@ -1941,7 +1941,7 @@ namespace demo
auto __vwsn_resource_value_ = ::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(__vwsn_resource_item_.Obj());
if ((! static_cast<bool>(__vwsn_resource_value_)))
{
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/EditUndo.png\" cannot be read as type \"presentation::GuiImageData\".", false));
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/EditUndo.png\" cannot be read as type \"presentation::GuiImageData^\".", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::This(this)->commandEditUndo)->SetImage(__vwsn_resource_value_);
@@ -1964,7 +1964,7 @@ namespace demo
auto __vwsn_resource_value_ = ::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(__vwsn_resource_item_.Obj());
if ((! static_cast<bool>(__vwsn_resource_value_)))
{
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/EditRedo.png\" cannot be read as type \"presentation::GuiImageData\".", false));
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/EditRedo.png\" cannot be read as type \"presentation::GuiImageData^\".", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::This(this)->commandEditRedo)->SetImage(__vwsn_resource_value_);
@@ -1987,7 +1987,7 @@ namespace demo
auto __vwsn_resource_value_ = ::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(__vwsn_resource_item_.Obj());
if ((! static_cast<bool>(__vwsn_resource_value_)))
{
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/EditCut.png\" cannot be read as type \"presentation::GuiImageData\".", false));
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/EditCut.png\" cannot be read as type \"presentation::GuiImageData^\".", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::This(this)->commandEditCut)->SetImage(__vwsn_resource_value_);
@@ -2010,7 +2010,7 @@ namespace demo
auto __vwsn_resource_value_ = ::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(__vwsn_resource_item_.Obj());
if ((! static_cast<bool>(__vwsn_resource_value_)))
{
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/EditCopy.png\" cannot be read as type \"presentation::GuiImageData\".", false));
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/EditCopy.png\" cannot be read as type \"presentation::GuiImageData^\".", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::This(this)->commandEditCopy)->SetImage(__vwsn_resource_value_);
@@ -2033,7 +2033,7 @@ namespace demo
auto __vwsn_resource_value_ = ::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(__vwsn_resource_item_.Obj());
if ((! static_cast<bool>(__vwsn_resource_value_)))
{
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/EditPaste.png\" cannot be read as type \"presentation::GuiImageData\".", false));
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/EditPaste.png\" cannot be read as type \"presentation::GuiImageData^\".", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::This(this)->commandEditPaste)->SetImage(__vwsn_resource_value_);
@@ -2056,7 +2056,7 @@ namespace demo
auto __vwsn_resource_value_ = ::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(__vwsn_resource_item_.Obj());
if ((! static_cast<bool>(__vwsn_resource_value_)))
{
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/EditDelete.png\" cannot be read as type \"presentation::GuiImageData\".", false));
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/EditDelete.png\" cannot be read as type \"presentation::GuiImageData^\".", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::This(this)->commandEditDelete)->SetImage(__vwsn_resource_value_);
@@ -2082,7 +2082,7 @@ namespace demo
auto __vwsn_resource_value_ = ::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(__vwsn_resource_item_.Obj());
if ((! static_cast<bool>(__vwsn_resource_value_)))
{
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/EditFind.png\" cannot be read as type \"presentation::GuiImageData\".", false));
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/EditFind.png\" cannot be read as type \"presentation::GuiImageData^\".", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::This(this)->commandEditFind)->SetImage(__vwsn_resource_value_);
@@ -2124,7 +2124,7 @@ namespace demo
auto __vwsn_resource_value_ = ::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(__vwsn_resource_item_.Obj());
if ((! static_cast<bool>(__vwsn_resource_value_)))
{
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/New.png\" cannot be read as type \"presentation::GuiImageData\".", false));
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/New.png\" cannot be read as type \"presentation::GuiImageData^\".", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::This(this)->__vwsn_precompile_5)->SetImage(__vwsn_resource_value_);
@@ -2184,7 +2184,7 @@ namespace demo
auto __vwsn_resource_value_ = ::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(__vwsn_resource_item_.Obj());
if ((! static_cast<bool>(__vwsn_resource_value_)))
{
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/New.png\" cannot be read as type \"presentation::GuiImageData\".", false));
throw ::vl::Exception(::vl::WString(L"Resource \"res://Images/New.png\" cannot be read as type \"presentation::GuiImageData^\".", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::This(this)->__vwsn_precompile_33)->SetImage(__vwsn_resource_value_);
@@ -2344,7 +2344,7 @@ Class (::demo::AboutWindowConstructor)
auto __vwsn_resource_value_ = ::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(__vwsn_resource_item_.Obj());
if ((! static_cast<bool>(__vwsn_resource_value_)))
{
throw ::vl::Exception(::vl::WString(L"Resource \"res://AboutWindow/Gaclib.png\" cannot be read as type \"presentation::GuiImageData\".", false));
throw ::vl::Exception(::vl::WString(L"Resource \"res://AboutWindow/Gaclib.png\" cannot be read as type \"presentation::GuiImageData^\".", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::This(this)->__vwsn_precompile_2.Obj())->SetImage(::vl::__vwsn::This(__vwsn_resource_value_.Obj())->GetImage());
@@ -2359,7 +2359,7 @@ Class (::demo::AboutWindowConstructor)
auto __vwsn_resource_value_ = ::vl::__vwsn::SharedPtrCast<::vl::presentation::DocumentModel>(__vwsn_resource_item_.Obj());
if ((! static_cast<bool>(__vwsn_resource_value_)))
{
throw ::vl::Exception(::vl::WString(L"Resource \"res://AboutWindow/Description\" cannot be read as type \"presentation::DocumentModel\".", false));
throw ::vl::Exception(::vl::WString(L"Resource \"res://AboutWindow/Description\" cannot be read as type \"presentation::DocumentModel^\".", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::This(this)->documentLabel)->SetDocument(__vwsn_resource_value_);
Binary file not shown.
@@ -1,4 +1,4 @@
/***********************************************************************
/***********************************************************************
!!!!!! DO NOT MODIFY !!!!!!
GacGen.exe Resource.xml
@@ -558,7 +558,7 @@ namespace demo
auto __vwsn_resource_value_ = ::vl::__vwsn::SharedPtrCast<::vl::presentation::DocumentModel>(__vwsn_resource_item_.Obj());
if ((! static_cast<bool>(__vwsn_resource_value_)))
{
throw ::vl::Exception(::vl::WString(L"Resource \"res://EmbeddedDocument/Document\" cannot be read as type \"presentation::DocumentModel\".", false));
throw ::vl::Exception(::vl::WString(L"Resource \"res://EmbeddedDocument/Document\" cannot be read as type \"presentation::DocumentModel^\".", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::This(this)->documentViewer)->SetDocument(__vwsn_resource_value_);
@@ -1,4 +1,4 @@
/***********************************************************************
/***********************************************************************
!!!!!! DO NOT MODIFY !!!!!!
GacGen.exe Resource.xml
@@ -136,7 +136,7 @@ namespace demo
auto __vwsn_resource_value_ = ::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiImageData>(__vwsn_resource_item_.Obj());
if ((! static_cast<bool>(__vwsn_resource_value_)))
{
throw ::vl::Exception(::vl::WString(L"Resource \"res://Data/Logo\" cannot be read as type \"presentation::GuiImageData\".", false));
throw ::vl::Exception(::vl::WString(L"Resource \"res://Data/Logo\" cannot be read as type \"presentation::GuiImageData^\".", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::This(this)->__vwsn_precompile_4.Obj())->SetImage(::vl::__vwsn::This(__vwsn_resource_value_.Obj())->GetImage());
@@ -151,7 +151,7 @@ namespace demo
auto __vwsn_resource_value_ = ::vl::__vwsn::SharedPtrCast<::vl::presentation::DocumentModel>(__vwsn_resource_item_.Obj());
if ((! static_cast<bool>(__vwsn_resource_value_)))
{
throw ::vl::Exception(::vl::WString(L"Resource \"res://Data/Document\" cannot be read as type \"presentation::DocumentModel\".", false));
throw ::vl::Exception(::vl::WString(L"Resource \"res://Data/Document\" cannot be read as type \"presentation::DocumentModel^\".", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::This(this)->documentLabel)->SetDocument(__vwsn_resource_value_);
@@ -169,7 +169,7 @@ namespace demo
auto __vwsn_resource_value_ = ::vl::__vwsn::SharedPtrCast<::vl::presentation::GuiTextData>(__vwsn_resource_item_.Obj());
if ((! static_cast<bool>(__vwsn_resource_value_)))
{
throw ::vl::Exception(::vl::WString(L"Resource \"res://Data/Title\" cannot be read as type \"presentation::GuiTextData\".", false));
throw ::vl::Exception(::vl::WString(L"Resource \"res://Data/Title\" cannot be read as type \"presentation::GuiTextData^\".", false));
}
{
::vl::__vwsn::This(::vl::__vwsn::This(this)->__vwsn_precompile_0)->SetText(::vl::__vwsn::This(__vwsn_resource_value_.Obj())->GetText());