Added SmartGlass IDL.

This commit is contained in:
Tyler Jaacks
2025-04-05 19:58:40 -05:00
parent 0afe337593
commit c519b32c3b
22 changed files with 721 additions and 0 deletions

View File

@@ -0,0 +1,56 @@
#include "pch.h"
#include "Windows.Xbox.SmartGlass.SmartGlassAuxiliaryStream.h"
#include "Windows.Xbox.SmartGlass.SmartGlassAuxiliaryStream.g.cpp"
namespace winrt::Windows::Xbox::SmartGlass::implementation
{
void SmartGlassAuxiliaryStream::Open()
{
throw hresult_not_implemented();
}
void SmartGlassAuxiliaryStream::Close()
{
throw hresult_not_implemented();
}
winrt::event_token SmartGlassAuxiliaryStream::OnConnect(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Xbox::SmartGlass::SmartGlassAuxiliaryStream, winrt::Windows::Foundation::IInspectable> const& handler)
{
throw hresult_not_implemented();
}
void SmartGlassAuxiliaryStream::OnConnect(winrt::event_token const& token) noexcept
{
throw hresult_not_implemented();
}
winrt::event_token SmartGlassAuxiliaryStream::OnReceive(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Xbox::SmartGlass::SmartGlassAuxiliaryStream, winrt::Windows::Xbox::SmartGlass::SmartGlassAuxiliaryStreamReadStats> const& handler)
{
throw hresult_not_implemented();
}
void SmartGlassAuxiliaryStream::OnReceive(winrt::event_token const& token) noexcept
{
throw hresult_not_implemented();
}
winrt::event_token SmartGlassAuxiliaryStream::OnSend(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Xbox::SmartGlass::SmartGlassAuxiliaryStream, winrt::Windows::Xbox::SmartGlass::SmartGlassAuxiliaryStreamWriteStats> const& handler)
{
throw hresult_not_implemented();
}
void SmartGlassAuxiliaryStream::OnSend(winrt::event_token const& token) noexcept
{
throw hresult_not_implemented();
}
winrt::event_token SmartGlassAuxiliaryStream::OnError(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Xbox::SmartGlass::SmartGlassAuxiliaryStream, int32_t> const& handler)
{
throw hresult_not_implemented();
}
void SmartGlassAuxiliaryStream::OnError(winrt::event_token const& token) noexcept
{
throw hresult_not_implemented();
}
}

View File

@@ -0,0 +1,21 @@
#pragma once
#include "Windows.Xbox.SmartGlass.SmartGlassAuxiliaryStream.g.h"
namespace winrt::Windows::Xbox::SmartGlass::implementation
{
struct SmartGlassAuxiliaryStream : SmartGlassAuxiliaryStreamT<SmartGlassAuxiliaryStream>
{
SmartGlassAuxiliaryStream() = default;
void Open();
void Close();
winrt::event_token OnConnect(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Xbox::SmartGlass::SmartGlassAuxiliaryStream, winrt::Windows::Foundation::IInspectable> const& handler);
void OnConnect(winrt::event_token const& token) noexcept;
winrt::event_token OnReceive(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Xbox::SmartGlass::SmartGlassAuxiliaryStream, winrt::Windows::Xbox::SmartGlass::SmartGlassAuxiliaryStreamReadStats> const& handler);
void OnReceive(winrt::event_token const& token) noexcept;
winrt::event_token OnSend(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Xbox::SmartGlass::SmartGlassAuxiliaryStream, winrt::Windows::Xbox::SmartGlass::SmartGlassAuxiliaryStreamWriteStats> const& handler);
void OnSend(winrt::event_token const& token) noexcept;
winrt::event_token OnError(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Xbox::SmartGlass::SmartGlassAuxiliaryStream, int32_t> const& handler);
void OnError(winrt::event_token const& token) noexcept;
};
}

View File

@@ -0,0 +1,81 @@
#include "pch.h"
#include "Windows.Xbox.SmartGlass.SmartGlassDevice.h"
#include "Windows.Xbox.SmartGlass.SmartGlassDevice.g.cpp"
namespace winrt::Windows::Xbox::SmartGlass::implementation
{
winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Xbox::SmartGlass::SmartGlassDevice> SmartGlassDevice::CreateFromIdAsync(hstring id)
{
throw hresult_not_implemented();
}
winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Xbox::SmartGlass::SmartGlassDeviceCollection> SmartGlassDevice::FindAllAsync()
{
throw hresult_not_implemented();
}
hstring SmartGlassDevice::Id()
{
throw hresult_not_implemented();
}
hstring SmartGlassDevice::DisplayName()
{
throw hresult_not_implemented();
}
winrt::Windows::Xbox::SmartGlass::SmartGlassDirectSurface SmartGlassDevice::DirectSurface()
{
throw hresult_not_implemented();
}
winrt::Windows::Xbox::SmartGlass::SmartGlassHtmlSurface SmartGlassDevice::HtmlSurface()
{
throw hresult_not_implemented();
}
winrt::Windows::Xbox::SmartGlass::SmartGlassTextEntrySurface SmartGlassDevice::TextEntrySurface()
{
throw hresult_not_implemented();
}
winrt::Windows::Xbox::System::User SmartGlassDevice::User()
{
throw hresult_not_implemented();
}
winrt::Windows::Foundation::IAsyncAction SmartGlassDevice::SetActiveSurfaceAsync(winrt::Windows::Xbox::SmartGlass::ISmartGlassSurface surface)
{
throw hresult_not_implemented();
}
winrt::Windows::Xbox::SmartGlass::QosMetrics SmartGlassDevice::QosMetrics()
{
throw hresult_not_implemented();
}
winrt::event_token SmartGlassDevice::QosMetricsChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Xbox::SmartGlass::SmartGlassDevice, winrt::Windows::Xbox::SmartGlass::QosMetricsChangedEventArgs> const& handler)
{
throw hresult_not_implemented();
}
void SmartGlassDevice::QosMetricsChanged(winrt::event_token const& token) noexcept
{
throw hresult_not_implemented();
}
uint32_t SmartGlassDevice::get_DpiX()
{
throw hresult_not_implemented();
}
uint32_t SmartGlassDevice::get_DpiY()
{
throw hresult_not_implemented();
}
winrt::Windows::Xbox::SmartGlass::SmartGlassAuxiliaryStream SmartGlassDevice::AuxiliaryStream()
{
throw hresult_not_implemented();
}
}

View File

@@ -0,0 +1,32 @@
#pragma once
#include "Windows.Xbox.SmartGlass.SmartGlassDevice.g.h"
namespace winrt::Windows::Xbox::SmartGlass::implementation
{
struct SmartGlassDevice : SmartGlassDeviceT<SmartGlassDevice>
{
SmartGlassDevice() = default;
static winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Xbox::SmartGlass::SmartGlassDevice> CreateFromIdAsync(hstring id);
static winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Xbox::SmartGlass::SmartGlassDeviceCollection> FindAllAsync();
hstring Id();
hstring DisplayName();
winrt::Windows::Xbox::SmartGlass::SmartGlassDirectSurface DirectSurface();
winrt::Windows::Xbox::SmartGlass::SmartGlassHtmlSurface HtmlSurface();
winrt::Windows::Xbox::SmartGlass::SmartGlassTextEntrySurface TextEntrySurface();
winrt::Windows::Xbox::System::User User();
winrt::Windows::Foundation::IAsyncAction SetActiveSurfaceAsync(winrt::Windows::Xbox::SmartGlass::ISmartGlassSurface surface);
winrt::Windows::Xbox::SmartGlass::QosMetrics QosMetrics();
winrt::event_token QosMetricsChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Xbox::SmartGlass::SmartGlassDevice, winrt::Windows::Xbox::SmartGlass::QosMetricsChangedEventArgs> const& handler);
void QosMetricsChanged(winrt::event_token const& token) noexcept;
uint32_t get_DpiX();
uint32_t get_DpiY();
winrt::Windows::Xbox::SmartGlass::SmartGlassAuxiliaryStream AuxiliaryStream();
};
}
namespace winrt::Windows::Xbox::SmartGlass::factory_implementation
{
struct SmartGlassDevice : SmartGlassDeviceT<SmartGlassDevice, implementation::SmartGlassDevice>
{
};
}

View File

@@ -0,0 +1,31 @@
#include "pch.h"
#include "Windows.Xbox.SmartGlass.SmartGlassDeviceCollection.h"
#include "Windows.Xbox.SmartGlass.SmartGlassDeviceCollection.g.cpp"
namespace winrt::Windows::Xbox::SmartGlass::implementation
{
winrt::Windows::Foundation::Collections::IIterator<winrt::Windows::Xbox::SmartGlass::SmartGlassDevice> SmartGlassDeviceCollection::First()
{
throw hresult_not_implemented();
}
winrt::Windows::Xbox::SmartGlass::SmartGlassDevice SmartGlassDeviceCollection::GetAt(uint32_t index)
{
throw hresult_not_implemented();
}
uint32_t SmartGlassDeviceCollection::Size()
{
throw hresult_not_implemented();
}
bool SmartGlassDeviceCollection::IndexOf(winrt::Windows::Xbox::SmartGlass::SmartGlassDevice const& value, uint32_t& index)
{
throw hresult_not_implemented();
}
uint32_t SmartGlassDeviceCollection::GetMany(uint32_t startIndex, array_view<winrt::Windows::Xbox::SmartGlass::SmartGlassDevice> items)
{
throw hresult_not_implemented();
}
}

View File

@@ -0,0 +1,16 @@
#pragma once
#include "Windows.Xbox.SmartGlass.SmartGlassDeviceCollection.g.h"
namespace winrt::Windows::Xbox::SmartGlass::implementation
{
struct SmartGlassDeviceCollection : SmartGlassDeviceCollectionT<SmartGlassDeviceCollection>
{
SmartGlassDeviceCollection() = default;
winrt::Windows::Foundation::Collections::IIterator<winrt::Windows::Xbox::SmartGlass::SmartGlassDevice> First();
winrt::Windows::Xbox::SmartGlass::SmartGlassDevice GetAt(uint32_t index);
uint32_t Size();
bool IndexOf(winrt::Windows::Xbox::SmartGlass::SmartGlassDevice const& value, uint32_t& index);
uint32_t GetMany(uint32_t startIndex, array_view<winrt::Windows::Xbox::SmartGlass::SmartGlassDevice> items);
};
}

View File

@@ -0,0 +1,26 @@
#include "pch.h"
#include "Windows.Xbox.SmartGlass.SmartGlassDeviceWatcher.h"
#include "Windows.Xbox.SmartGlass.SmartGlassDeviceWatcher.g.cpp"
namespace winrt::Windows::Xbox::SmartGlass::implementation
{
winrt::event_token SmartGlassDeviceWatcher::DeviceAdded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Xbox::SmartGlass::SmartGlassDeviceWatcher, winrt::Windows::Xbox::SmartGlass::SmartGlassDevice> const& handler)
{
throw hresult_not_implemented();
}
void SmartGlassDeviceWatcher::DeviceAdded(winrt::event_token const& token) noexcept
{
throw hresult_not_implemented();
}
winrt::event_token SmartGlassDeviceWatcher::DeviceRemoved(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Xbox::SmartGlass::SmartGlassDeviceWatcher, winrt::Windows::Xbox::SmartGlass::SmartGlassDevice> const& handler)
{
throw hresult_not_implemented();
}
void SmartGlassDeviceWatcher::DeviceRemoved(winrt::event_token const& token) noexcept
{
throw hresult_not_implemented();
}
}

View File

@@ -0,0 +1,22 @@
#pragma once
#include "Windows.Xbox.SmartGlass.SmartGlassDeviceWatcher.g.h"
namespace winrt::Windows::Xbox::SmartGlass::implementation
{
struct SmartGlassDeviceWatcher : SmartGlassDeviceWatcherT<SmartGlassDeviceWatcher>
{
SmartGlassDeviceWatcher() = default;
winrt::event_token DeviceAdded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Xbox::SmartGlass::SmartGlassDeviceWatcher, winrt::Windows::Xbox::SmartGlass::SmartGlassDevice> const& handler);
void DeviceAdded(winrt::event_token const& token) noexcept;
winrt::event_token DeviceRemoved(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Xbox::SmartGlass::SmartGlassDeviceWatcher, winrt::Windows::Xbox::SmartGlass::SmartGlassDevice> const& handler);
void DeviceRemoved(winrt::event_token const& token) noexcept;
};
}
namespace winrt::Windows::Xbox::SmartGlass::factory_implementation
{
struct SmartGlassDeviceWatcher : SmartGlassDeviceWatcherT<SmartGlassDeviceWatcher, implementation::SmartGlassDeviceWatcher>
{
};
}

View File

@@ -0,0 +1,41 @@
#include "pch.h"
#include "Windows.Xbox.SmartGlass.SmartGlassDirectSurface.h"
#include "Windows.Xbox.SmartGlass.SmartGlassDirectSurface.g.cpp"
namespace winrt::Windows::Xbox::SmartGlass::implementation
{
hstring SmartGlassDirectSurface::Id()
{
throw hresult_not_implemented();
}
bool SmartGlassDirectSurface::Visible()
{
throw hresult_not_implemented();
}
hstring SmartGlassDirectSurface::AudioDeviceId()
{
throw hresult_not_implemented();
}
winrt::Windows::Foundation::Rect SmartGlassDirectSurface::Bounds()
{
throw hresult_not_implemented();
}
winrt::Windows::Foundation::Rect SmartGlassDirectSurface::NativeBounds()
{
throw hresult_not_implemented();
}
winrt::Windows::Xbox::SmartGlass::QosSettings SmartGlassDirectSurface::QosSettings()
{
throw hresult_not_implemented();
}
winrt::Windows::Xbox::SmartGlass::SmartGlassSensors SmartGlassDirectSurface::Sensors()
{
throw hresult_not_implemented();
}
}

View File

@@ -0,0 +1,18 @@
#pragma once
#include "Windows.Xbox.SmartGlass.SmartGlassDirectSurface.g.h"
namespace winrt::Windows::Xbox::SmartGlass::implementation
{
struct SmartGlassDirectSurface : SmartGlassDirectSurfaceT<SmartGlassDirectSurface>
{
SmartGlassDirectSurface() = default;
hstring Id();
bool Visible();
hstring AudioDeviceId();
winrt::Windows::Foundation::Rect Bounds();
winrt::Windows::Foundation::Rect NativeBounds();
winrt::Windows::Xbox::SmartGlass::QosSettings QosSettings();
winrt::Windows::Xbox::SmartGlass::SmartGlassSensors Sensors();
};
}

View File

@@ -0,0 +1,36 @@
#include "pch.h"
#include "Windows.Xbox.SmartGlass.SmartGlassHtmlSurface.h"
#include "Windows.Xbox.SmartGlass.SmartGlassHtmlSurface.g.cpp"
namespace winrt::Windows::Xbox::SmartGlass::implementation
{
hstring SmartGlassHtmlSurface::Id()
{
throw hresult_not_implemented();
}
bool SmartGlassHtmlSurface::Visible()
{
throw hresult_not_implemented();
}
winrt::Windows::Xbox::SmartGlass::SmartGlassSensors SmartGlassHtmlSurface::Sensors()
{
throw hresult_not_implemented();
}
winrt::Windows::Foundation::IAsyncAction SmartGlassHtmlSurface::SubmitMessageAsync(hstring message)
{
throw hresult_not_implemented();
}
winrt::event_token SmartGlassHtmlSurface::MessageReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Xbox::SmartGlass::SmartGlassHtmlSurface, winrt::Windows::Xbox::SmartGlass::SmartGlassMessageReceivedEventArgs> const& handler)
{
throw hresult_not_implemented();
}
void SmartGlassHtmlSurface::MessageReceived(winrt::event_token const& token) noexcept
{
throw hresult_not_implemented();
}
}

View File

@@ -0,0 +1,17 @@
#pragma once
#include "Windows.Xbox.SmartGlass.SmartGlassHtmlSurface.g.h"
namespace winrt::Windows::Xbox::SmartGlass::implementation
{
struct SmartGlassHtmlSurface : SmartGlassHtmlSurfaceT<SmartGlassHtmlSurface>
{
SmartGlassHtmlSurface() = default;
hstring Id();
bool Visible();
winrt::Windows::Xbox::SmartGlass::SmartGlassSensors Sensors();
winrt::Windows::Foundation::IAsyncAction SubmitMessageAsync(hstring message);
winrt::event_token MessageReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Xbox::SmartGlass::SmartGlassHtmlSurface, winrt::Windows::Xbox::SmartGlass::SmartGlassMessageReceivedEventArgs> const& handler);
void MessageReceived(winrt::event_token const& token) noexcept;
};
}

View File

@@ -0,0 +1,11 @@
#include "pch.h"
#include "Windows.Xbox.SmartGlass.SmartGlassMessageReceivedEventArgs.h"
#include "Windows.Xbox.SmartGlass.SmartGlassMessageReceivedEventArgs.g.cpp"
namespace winrt::Windows::Xbox::SmartGlass::implementation
{
hstring SmartGlassMessageReceivedEventArgs::Message()
{
throw hresult_not_implemented();
}
}

View File

@@ -0,0 +1,12 @@
#pragma once
#include "Windows.Xbox.SmartGlass.SmartGlassMessageReceivedEventArgs.g.h"
namespace winrt::Windows::Xbox::SmartGlass::implementation
{
struct SmartGlassMessageReceivedEventArgs : SmartGlassMessageReceivedEventArgsT<SmartGlassMessageReceivedEventArgs>
{
SmartGlassMessageReceivedEventArgs() = default;
hstring Message();
};
}

View File

@@ -0,0 +1,31 @@
#include "pch.h"
#include "Windows.Xbox.SmartGlass.SmartGlassSensors.h"
#include "Windows.Xbox.SmartGlass.SmartGlassSensors.g.cpp"
namespace winrt::Windows::Xbox::SmartGlass::implementation
{
winrt::Windows::Devices::Sensors::Accelerometer SmartGlassSensors::Accelerometer()
{
throw hresult_not_implemented();
}
winrt::Windows::Devices::Sensors::Compass SmartGlassSensors::Compass()
{
throw hresult_not_implemented();
}
winrt::Windows::Devices::Sensors::Gyrometer SmartGlassSensors::Gyrometer()
{
throw hresult_not_implemented();
}
winrt::Windows::Devices::Sensors::Inclinometer SmartGlassSensors::Inclinometer()
{
throw hresult_not_implemented();
}
winrt::Windows::Devices::Sensors::OrientationSensor SmartGlassSensors::OrientationSensor()
{
throw hresult_not_implemented();
}
}

View File

@@ -0,0 +1,16 @@
#pragma once
#include "Windows.Xbox.SmartGlass.SmartGlassSensors.g.h"
namespace winrt::Windows::Xbox::SmartGlass::implementation
{
struct SmartGlassSensors : SmartGlassSensorsT<SmartGlassSensors>
{
SmartGlassSensors() = default;
winrt::Windows::Devices::Sensors::Accelerometer Accelerometer();
winrt::Windows::Devices::Sensors::Compass Compass();
winrt::Windows::Devices::Sensors::Gyrometer Gyrometer();
winrt::Windows::Devices::Sensors::Inclinometer Inclinometer();
winrt::Windows::Devices::Sensors::OrientationSensor OrientationSensor();
};
}

View File

@@ -0,0 +1,7 @@
#include "pch.h"
#include "Windows.Xbox.SmartGlass.SmartGlassTextEntryEventArgs.h"
#include "Windows.Xbox.SmartGlass.SmartGlassTextEntryEventArgs.g.cpp"
namespace winrt::Windows::Xbox::SmartGlass::implementation
{
}

View File

@@ -0,0 +1,11 @@
#pragma once
#include "Windows.Xbox.SmartGlass.SmartGlassTextEntryEventArgs.g.h"
namespace winrt::Windows::Xbox::SmartGlass::implementation
{
struct SmartGlassTextEntryEventArgs : SmartGlassTextEntryEventArgsT<SmartGlassTextEntryEventArgs>
{
SmartGlassTextEntryEventArgs() = default;
};
}

View File

@@ -0,0 +1,116 @@
#include "pch.h"
#include "Windows.Xbox.SmartGlass.SmartGlassTextEntrySurface.h"
#include "Windows.Xbox.SmartGlass.SmartGlassTextEntrySurface.g.cpp"
namespace winrt::Windows::Xbox::SmartGlass::implementation
{
hstring SmartGlassTextEntrySurface::Id()
{
throw hresult_not_implemented();
}
bool SmartGlassTextEntrySurface::Visible()
{
throw hresult_not_implemented();
}
hstring SmartGlassTextEntrySurface::Text()
{
throw hresult_not_implemented();
}
void SmartGlassTextEntrySurface::Text(hstring const& value)
{
throw hresult_not_implemented();
}
hstring SmartGlassTextEntrySurface::Prompt()
{
throw hresult_not_implemented();
}
void SmartGlassTextEntrySurface::Prompt(hstring const& value)
{
throw hresult_not_implemented();
}
hstring SmartGlassTextEntrySurface::InputScope()
{
throw hresult_not_implemented();
}
void SmartGlassTextEntrySurface::InputScope(hstring const& value)
{
throw hresult_not_implemented();
}
winrt::Windows::Xbox::SmartGlass::TextEntryOptions SmartGlassTextEntrySurface::Options()
{
throw hresult_not_implemented();
}
void SmartGlassTextEntrySurface::Options(winrt::Windows::Xbox::SmartGlass::TextEntryOptions const& value)
{
throw hresult_not_implemented();
}
hstring SmartGlassTextEntrySurface::FlowDirection()
{
throw hresult_not_implemented();
}
void SmartGlassTextEntrySurface::FlowDirection(hstring const& value)
{
throw hresult_not_implemented();
}
hstring SmartGlassTextEntrySurface::Language()
{
throw hresult_not_implemented();
}
void SmartGlassTextEntrySurface::Language(hstring const& value)
{
throw hresult_not_implemented();
}
uint32_t SmartGlassTextEntrySurface::MaxLength()
{
throw hresult_not_implemented();
}
void SmartGlassTextEntrySurface::MaxLength(uint32_t value)
{
throw hresult_not_implemented();
}
winrt::Windows::Xbox::SmartGlass::TextEntryResult SmartGlassTextEntrySurface::Result()
{
throw hresult_not_implemented();
}
winrt::event_token SmartGlassTextEntrySurface::TextChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Xbox::SmartGlass::SmartGlassTextEntrySurface, winrt::Windows::Xbox::SmartGlass::SmartGlassTextEntryEventArgs> const& handler)
{
throw hresult_not_implemented();
}
void SmartGlassTextEntrySurface::TextChanged(winrt::event_token const& token) noexcept
{
throw hresult_not_implemented();
}
winrt::event_token SmartGlassTextEntrySurface::TextEntryFinished(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Xbox::SmartGlass::SmartGlassTextEntrySurface, winrt::Windows::Xbox::SmartGlass::SmartGlassTextEntryEventArgs> const& handler)
{
throw hresult_not_implemented();
}
void SmartGlassTextEntrySurface::TextEntryFinished(winrt::event_token const& token) noexcept
{
throw hresult_not_implemented();
}
void SmartGlassTextEntrySurface::SetSelection(uint32_t start, uint32_t length)
{
throw hresult_not_implemented();
}
}

View File

@@ -0,0 +1,33 @@
#pragma once
#include "Windows.Xbox.SmartGlass.SmartGlassTextEntrySurface.g.h"
namespace winrt::Windows::Xbox::SmartGlass::implementation
{
struct SmartGlassTextEntrySurface : SmartGlassTextEntrySurfaceT<SmartGlassTextEntrySurface>
{
SmartGlassTextEntrySurface() = default;
hstring Id();
bool Visible();
hstring Text();
void Text(hstring const& value);
hstring Prompt();
void Prompt(hstring const& value);
hstring InputScope();
void InputScope(hstring const& value);
winrt::Windows::Xbox::SmartGlass::TextEntryOptions Options();
void Options(winrt::Windows::Xbox::SmartGlass::TextEntryOptions const& value);
hstring FlowDirection();
void FlowDirection(hstring const& value);
hstring Language();
void Language(hstring const& value);
uint32_t MaxLength();
void MaxLength(uint32_t value);
winrt::Windows::Xbox::SmartGlass::TextEntryResult Result();
winrt::event_token TextChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Xbox::SmartGlass::SmartGlassTextEntrySurface, winrt::Windows::Xbox::SmartGlass::SmartGlassTextEntryEventArgs> const& handler);
void TextChanged(winrt::event_token const& token) noexcept;
winrt::event_token TextEntryFinished(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Xbox::SmartGlass::SmartGlassTextEntrySurface, winrt::Windows::Xbox::SmartGlass::SmartGlassTextEntryEventArgs> const& handler);
void TextEntryFinished(winrt::event_token const& token) noexcept;
void SetSelection(uint32_t start, uint32_t length);
};
}

View File

@@ -470,6 +470,16 @@
<ClInclude Include="Implementation\Windows.Xbox.Networking.SecureDeviceAssociationTemplate.h" />
<ClInclude Include="Implementation\Windows.Xbox.Networking.SecureDeviceSocketDescription.h" />
<ClInclude Include="Implementation\Windows.Xbox.Services.XboxLiveConfiguration.h" />
<ClInclude Include="Implementation\Windows.Xbox.SmartGlass.SmartGlassAuxiliaryStream.h" />
<ClInclude Include="Implementation\Windows.Xbox.SmartGlass.SmartGlassDevice.h" />
<ClInclude Include="Implementation\Windows.Xbox.SmartGlass.SmartGlassDeviceCollection.h" />
<ClInclude Include="Implementation\Windows.Xbox.SmartGlass.SmartGlassDeviceWatcher.h" />
<ClInclude Include="Implementation\Windows.Xbox.SmartGlass.SmartGlassDirectSurface.h" />
<ClInclude Include="Implementation\Windows.Xbox.SmartGlass.SmartGlassHtmlSurface.h" />
<ClInclude Include="Implementation\Windows.Xbox.SmartGlass.SmartGlassMessageReceivedEventArgs.h" />
<ClInclude Include="Implementation\Windows.Xbox.SmartGlass.SmartGlassSensors.h" />
<ClInclude Include="Implementation\Windows.Xbox.SmartGlass.SmartGlassTextEntryEventArgs.h" />
<ClInclude Include="Implementation\Windows.Xbox.SmartGlass.SmartGlassTextEntrySurface.h" />
<ClInclude Include="Implementation\Windows.Xbox.Speech.Recognition.ContinuousSpeechRecognitionResultEventArgs.h" />
<ClInclude Include="Implementation\Windows.Xbox.Speech.Recognition.ContinuousSpeechRecognitionStatusEventArgs.h" />
<ClInclude Include="Implementation\Windows.Xbox.Speech.Recognition.InstalledSpeechRecognizers.h" />
@@ -833,6 +843,16 @@
<ClCompile Include="Implementation\Windows.Xbox.Networking.SecureDeviceAssociationTemplate.cpp" />
<ClCompile Include="Implementation\Windows.Xbox.Networking.SecureDeviceSocketDescription.cpp" />
<ClCompile Include="Implementation\Windows.Xbox.Services.XboxLiveConfiguration.cpp" />
<ClCompile Include="Implementation\Windows.Xbox.SmartGlass.SmartGlassAuxiliaryStream.cpp" />
<ClCompile Include="Implementation\Windows.Xbox.SmartGlass.SmartGlassDevice.cpp" />
<ClCompile Include="Implementation\Windows.Xbox.SmartGlass.SmartGlassDeviceCollection.cpp" />
<ClCompile Include="Implementation\Windows.Xbox.SmartGlass.SmartGlassDeviceWatcher.cpp" />
<ClCompile Include="Implementation\Windows.Xbox.SmartGlass.SmartGlassDirectSurface.cpp" />
<ClCompile Include="Implementation\Windows.Xbox.SmartGlass.SmartGlassHtmlSurface.cpp" />
<ClCompile Include="Implementation\Windows.Xbox.SmartGlass.SmartGlassMessageReceivedEventArgs.cpp" />
<ClCompile Include="Implementation\Windows.Xbox.SmartGlass.SmartGlassSensors.cpp" />
<ClCompile Include="Implementation\Windows.Xbox.SmartGlass.SmartGlassTextEntryEventArgs.cpp" />
<ClCompile Include="Implementation\Windows.Xbox.SmartGlass.SmartGlassTextEntrySurface.cpp" />
<ClCompile Include="Implementation\Windows.Xbox.Speech.Recognition.ContinuousSpeechRecognitionResultEventArgs.cpp" />
<ClCompile Include="Implementation\Windows.Xbox.Speech.Recognition.ContinuousSpeechRecognitionStatusEventArgs.cpp" />
<ClCompile Include="Implementation\Windows.Xbox.Speech.Recognition.InstalledSpeechRecognizers.cpp" />
@@ -936,6 +956,7 @@
<Midl Include="External\Windows.Xbox.Services.idl" />
<Midl Include="External\Windows.Xbox.Shell.idl" />
<Midl Include="External\Windows.Xbox.Shell.Social.idl" />
<Midl Include="External\Windows.Xbox.SmartGlass.idl" />
<Midl Include="External\Windows.Xbox.Speech.Recognition.idl" />
<Midl Include="External\Windows.Xbox.Storage.idl" />
<Midl Include="External\Windows.Xbox.System.idl" />

View File

@@ -158,6 +158,9 @@
<Filter Include="Implementation\WinDurango">
<UniqueIdentifier>{39c5e887-fef6-48c2-9f60-7ddf8b3acdbf}</UniqueIdentifier>
</Filter>
<Filter Include="Implementation\Windows\Xbox\SmartGlass">
<UniqueIdentifier>{a9003d68-6bbb-43e4-ab6e-f1243e316c7c}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="dllmain.cpp" />
@@ -1243,6 +1246,36 @@
<ClCompile Include="ConnectedStorage\ConnectedStorage.cpp">
<Filter>Implementation\WinDurango</Filter>
</ClCompile>
<ClCompile Include="Implementation\Windows.Xbox.SmartGlass.SmartGlassAuxiliaryStream.cpp">
<Filter>Implementation\Windows\Xbox\SmartGlass</Filter>
</ClCompile>
<ClCompile Include="Implementation\Windows.Xbox.SmartGlass.SmartGlassDevice.cpp">
<Filter>Implementation\Windows\Xbox\SmartGlass</Filter>
</ClCompile>
<ClCompile Include="Implementation\Windows.Xbox.SmartGlass.SmartGlassDeviceCollection.cpp">
<Filter>Implementation\Windows\Xbox\SmartGlass</Filter>
</ClCompile>
<ClCompile Include="Implementation\Windows.Xbox.SmartGlass.SmartGlassDeviceWatcher.cpp">
<Filter>Implementation\Windows\Xbox\SmartGlass</Filter>
</ClCompile>
<ClCompile Include="Implementation\Windows.Xbox.SmartGlass.SmartGlassDirectSurface.cpp">
<Filter>Implementation\Windows\Xbox\SmartGlass</Filter>
</ClCompile>
<ClCompile Include="Implementation\Windows.Xbox.SmartGlass.SmartGlassHtmlSurface.cpp">
<Filter>Implementation\Windows\Xbox\SmartGlass</Filter>
</ClCompile>
<ClCompile Include="Implementation\Windows.Xbox.SmartGlass.SmartGlassMessageReceivedEventArgs.cpp">
<Filter>Implementation\Windows\Xbox\SmartGlass</Filter>
</ClCompile>
<ClCompile Include="Implementation\Windows.Xbox.SmartGlass.SmartGlassSensors.cpp">
<Filter>Implementation\Windows\Xbox\SmartGlass</Filter>
</ClCompile>
<ClCompile Include="Implementation\Windows.Xbox.SmartGlass.SmartGlassTextEntryEventArgs.cpp">
<Filter>Implementation\Windows\Xbox\SmartGlass</Filter>
</ClCompile>
<ClCompile Include="Implementation\Windows.Xbox.SmartGlass.SmartGlassTextEntrySurface.cpp">
<Filter>Implementation\Windows\Xbox\SmartGlass</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="Implementation\Microsoft.Xbox.GameChat.TextMessageReceivedEventArgs.h">
@@ -2327,6 +2360,36 @@
<ClInclude Include="Implementation\Windows.Xbox.Input.ControllerInputManager.h">
<Filter>Implementation\Windows\Xbox\Input</Filter>
</ClInclude>
<ClInclude Include="Implementation\Windows.Xbox.SmartGlass.SmartGlassTextEntrySurface.h">
<Filter>Implementation\Windows\Xbox\SmartGlass</Filter>
</ClInclude>
<ClInclude Include="Implementation\Windows.Xbox.SmartGlass.SmartGlassAuxiliaryStream.h">
<Filter>Implementation\Windows\Xbox\SmartGlass</Filter>
</ClInclude>
<ClInclude Include="Implementation\Windows.Xbox.SmartGlass.SmartGlassDevice.h">
<Filter>Implementation\Windows\Xbox\SmartGlass</Filter>
</ClInclude>
<ClInclude Include="Implementation\Windows.Xbox.SmartGlass.SmartGlassDeviceCollection.h">
<Filter>Implementation\Windows\Xbox\SmartGlass</Filter>
</ClInclude>
<ClInclude Include="Implementation\Windows.Xbox.SmartGlass.SmartGlassDeviceWatcher.h">
<Filter>Implementation\Windows\Xbox\SmartGlass</Filter>
</ClInclude>
<ClInclude Include="Implementation\Windows.Xbox.SmartGlass.SmartGlassDirectSurface.h">
<Filter>Implementation\Windows\Xbox\SmartGlass</Filter>
</ClInclude>
<ClInclude Include="Implementation\Windows.Xbox.SmartGlass.SmartGlassHtmlSurface.h">
<Filter>Implementation\Windows\Xbox\SmartGlass</Filter>
</ClInclude>
<ClInclude Include="Implementation\Windows.Xbox.SmartGlass.SmartGlassMessageReceivedEventArgs.h">
<Filter>Implementation\Windows\Xbox\SmartGlass</Filter>
</ClInclude>
<ClInclude Include="Implementation\Windows.Xbox.SmartGlass.SmartGlassSensors.h">
<Filter>Implementation\Windows\Xbox\SmartGlass</Filter>
</ClInclude>
<ClInclude Include="Implementation\Windows.Xbox.SmartGlass.SmartGlassTextEntryEventArgs.h">
<Filter>Implementation\Windows\Xbox\SmartGlass</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<None Include="winrt_x.def" />
@@ -2464,5 +2527,8 @@
<Midl Include="External\Windows.Xbox.Speech.Recognition.idl">
<Filter>External</Filter>
</Midl>
<Midl Include="External\Windows.Xbox.SmartGlass.idl">
<Filter>External</Filter>
</Midl>
</ItemGroup>
</Project>