forked from microsoft/CsWinRT
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathManualProjectionTestClasses.h
55 lines (46 loc) · 1.64 KB
/
ManualProjectionTestClasses.h
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#pragma once
#include "CustomBindableIteratorTest.g.h"
#include "CustomDisposableTest.g.h"
#include "CustomBindableVectorTest.g.h"
namespace winrt::TestComponentCSharp::implementation
{
struct CustomBindableIteratorTest : CustomBindableIteratorTestT<CustomBindableIteratorTest>
{
CustomBindableIteratorTest();
bool MoveNext();
Windows::Foundation::IInspectable Current();
bool HasCurrent();
};
struct CustomDisposableTest : CustomDisposableTestT<CustomDisposableTest>
{
CustomDisposableTest();
void Close();
};
struct CustomBindableVectorTest : CustomBindableVectorTestT<CustomBindableVectorTest>
{
CustomBindableVectorTest();
void Clear();
void Append(Windows::Foundation::IInspectable value);
Windows::Foundation::IInspectable GetAt(int32_t index);
winrt::Microsoft::UI::Xaml::Interop::IBindableVectorView GetView();
bool IndexOf(Windows::Foundation::IInspectable, uint32_t& index);
void InsertAt(int32_t index, Windows::Foundation::IInspectable value);
void RemoveAt(int32_t index);
void RemoveAtEnd();
void SetAt(int32_t index, Windows::Foundation::IInspectable value);
int32_t Size();
winrt::Microsoft::UI::Xaml::Interop::IBindableIterator First();
};
}
namespace winrt::TestComponentCSharp::factory_implementation
{
struct CustomBindableIteratorTest : CustomBindableIteratorTestT<CustomBindableIteratorTest, implementation::CustomBindableIteratorTest>
{
};
struct CustomDisposableTest : CustomDisposableTestT<CustomDisposableTest, implementation::CustomDisposableTest>
{
};
struct CustomBindableVectorTest : CustomBindableVectorTestT<CustomBindableVectorTest, implementation::CustomBindableVectorTest>
{
};
}