mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-01-22 09:01:57 -05:00
And make it compile
This commit is contained in:
parent
ec2993933c
commit
705106e324
1 changed files with 10 additions and 10 deletions
|
@ -209,15 +209,14 @@ void OpenFileDialog(void) {
|
||||||
//Windows::Storage::StorageFile file = picker->PickSingleFileAsync();
|
//Windows::Storage::StorageFile file = picker->PickSingleFileAsync();
|
||||||
}
|
}
|
||||||
|
|
||||||
struct CCApp : implements<CCApp, IFrameworkView, IFrameworkViewSource>
|
struct CCApp : implements<CCApp, IFrameworkView>
|
||||||
{
|
{
|
||||||
public:
|
|
||||||
// IFrameworkView interface
|
// IFrameworkView interface
|
||||||
void Initialize(const CoreApplicationView& view)
|
void Initialize(CoreApplicationView const& view)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
void Load(const hstring& entryPoint)
|
void Load(hstring const& entryPoint)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -234,19 +233,20 @@ public:
|
||||||
dispatcher.ProcessEvents(CoreProcessEventsOption::ProcessUntilQuit);
|
dispatcher.ProcessEvents(CoreProcessEventsOption::ProcessUntilQuit);
|
||||||
}
|
}
|
||||||
|
|
||||||
void SetWindow(const CoreWindow& win)
|
void SetWindow(CoreWindow const& win)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
};
|
||||||
|
|
||||||
// IFrameworkViewSource interface
|
struct CCAppSource : implements<CCAppSource, IFrameworkViewSource>
|
||||||
IFrameworkView CreateView()
|
{
|
||||||
{
|
IFrameworkView CreateView() {
|
||||||
return *this;
|
return make<CCApp>();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
int __stdcall wWinMain(void*, void*, wchar_t** argv, int argc)
|
int __stdcall wWinMain(void*, void*, wchar_t** argv, int argc)
|
||||||
{
|
{
|
||||||
auto app = CCApp();
|
auto app = make<CCAppSource>();
|
||||||
CoreApplication::Run(app);
|
CoreApplication::Run(app);
|
||||||
}
|
}
|
Loading…
Reference in a new issue