summaryrefslogtreecommitdiff
path: root/tests/src/Interop/WinRT/NativeComponent/Component.Contracts.BooleanTesting.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/src/Interop/WinRT/NativeComponent/Component.Contracts.BooleanTesting.h')
-rw-r--r--tests/src/Interop/WinRT/NativeComponent/Component.Contracts.BooleanTesting.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/src/Interop/WinRT/NativeComponent/Component.Contracts.BooleanTesting.h b/tests/src/Interop/WinRT/NativeComponent/Component.Contracts.BooleanTesting.h
new file mode 100644
index 0000000000..c8449ef816
--- /dev/null
+++ b/tests/src/Interop/WinRT/NativeComponent/Component.Contracts.BooleanTesting.h
@@ -0,0 +1,23 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+#pragma once
+
+#include "Component/Contracts/BooleanTesting.g.h"
+
+namespace winrt::Component::Contracts::implementation
+{
+ struct BooleanTesting : BooleanTestingT<BooleanTesting>
+ {
+ BooleanTesting() = default;
+
+ bool And(bool left, bool right);
+ };
+}
+
+namespace winrt::Component::Contracts::factory_implementation
+{
+ struct BooleanTesting : BooleanTestingT<BooleanTesting, implementation::BooleanTesting>
+ {
+ };
+}