-
Notifications
You must be signed in to change notification settings - Fork 157
Expand file tree
/
Copy pathAppView.h
More file actions
32 lines (28 loc) · 1.02 KB
/
AppView.h
File metadata and controls
32 lines (28 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
//*********************************************************
//
// Copyright (c) Microsoft. All rights reserved.
// This code is licensed under the MIT License (MIT).
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
// IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
// PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
//
//*********************************************************
#pragma once
namespace ComputeOnDevice
{
// IFrameworkView class. Connects the app with the Windows shell and handles application lifecycle events.
ref class AppView sealed : public Holographic::AppViewBase
{
public:
AppView();
protected private:
virtual std::shared_ptr<Holographic::AppMainBase> InitializeCore() override;
};
// The entry point for the app.
ref class AppViewSource sealed : Windows::ApplicationModel::Core::IFrameworkViewSource
{
public:
virtual Windows::ApplicationModel::Core::IFrameworkView^ CreateView();
};
}