mirror of
https://github.com/vczh-libraries/Release.git
synced 2026-02-05 11:30:07 +08:00
Remove Windows.h in tutorials
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
#define GAC_HEADER_USE_NAMESPACE
|
||||
#include "UI/Source/Demo.h"
|
||||
#include <Windows.h>
|
||||
|
||||
using namespace vl::collections;
|
||||
using namespace vl::stream;
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
#define GAC_HEADER_USE_NAMESPACE
|
||||
#include "UI/Source/Demo.h"
|
||||
#ifdef VCZH_MSVC
|
||||
#include <Windows.h>
|
||||
#endif
|
||||
|
||||
using namespace vl::collections;
|
||||
using namespace vl::stream;
|
||||
@@ -24,7 +26,9 @@ OpenUrl
|
||||
|
||||
void OpenUrl(const WString& url)
|
||||
{
|
||||
#ifdef VCZH_MSVC
|
||||
ShellExecute(NULL, L"OPEN", url.Buffer(), NULL, NULL, SW_MAXIMIZE);
|
||||
#endif
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
#define GAC_HEADER_USE_NAMESPACE
|
||||
#include "UI/Source/Demo.h"
|
||||
#include <Windows.h>
|
||||
|
||||
using namespace vl::collections;
|
||||
using namespace vl::stream;
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
#define GAC_HEADER_USE_NAMESPACE
|
||||
#include "UI/Source/Demo.h"
|
||||
#include <Windows.h>
|
||||
|
||||
using namespace vl::collections;
|
||||
using namespace vl::stream;
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
#define GAC_HEADER_USE_NAMESPACE
|
||||
#include "UI/Source/Demo.h"
|
||||
#include <Windows.h>
|
||||
|
||||
using namespace vl::collections;
|
||||
using namespace vl::stream;
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
#define GAC_HEADER_USE_NAMESPACE
|
||||
#include "UI/Source/Demo.h"
|
||||
#include <Windows.h>
|
||||
|
||||
using namespace vl::collections;
|
||||
using namespace vl::stream;
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
#define GAC_HEADER_USE_NAMESPACE
|
||||
#include "UI/Source/Demo.h"
|
||||
#ifdef VCZH_MSVC
|
||||
#include <Windows.h>
|
||||
#endif
|
||||
|
||||
using namespace vl::collections;
|
||||
using namespace vl::stream;
|
||||
@@ -10,7 +12,9 @@ class ViewModel : public Object, public virtual demo::IViewModel
|
||||
public:
|
||||
void OpenUrl(const WString& url)override
|
||||
{
|
||||
#ifdef VCZH_MSVC
|
||||
ShellExecute(NULL, L"OPEN", url.Buffer(), NULL, NULL, SW_MAXIMIZE);
|
||||
#endif
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
#define GAC_HEADER_USE_NAMESPACE
|
||||
#include "UI/Source/Demo.h"
|
||||
#include <Windows.h>
|
||||
|
||||
using namespace vl::collections;
|
||||
using namespace vl::stream;
|
||||
|
||||
Reference in New Issue
Block a user