Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
9065c663
Commit
9065c663
authored
Dec 18, 2022
by
Mohamad Al-Jaf
Committed by
Alexandre Julliard
Mar 07, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add windows.perception.spatial.idl file.
Needed by windows.perception.spatial.surfaces.idl.
parent
6da1e08d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
181 additions
and
0 deletions
+181
-0
Makefile.in
include/Makefile.in
+1
-0
windows.perception.spatial.idl
include/windows.perception.spatial.idl
+180
-0
No files found.
include/Makefile.in
View file @
9065c663
...
@@ -821,6 +821,7 @@ SOURCES = \
...
@@ -821,6 +821,7 @@ SOURCES = \
windows.media.idl
\
windows.media.idl
\
windows.media.speechrecognition.idl
\
windows.media.speechrecognition.idl
\
windows.media.speechsynthesis.idl
\
windows.media.speechsynthesis.idl
\
windows.perception.spatial.idl
\
windows.security.credentials.idl
\
windows.security.credentials.idl
\
windows.security.cryptography.idl
\
windows.security.cryptography.idl
\
windows.storage.streams.idl
\
windows.storage.streams.idl
\
...
...
include/windows.perception.spatial.idl
0 → 100644
View file @
9065c663
/*
*
Copyright
(
C
)
2023
Mohamad
Al
-
Jaf
*
*
This
library
is
free
software
; you can redistribute it and/or
*
modify
it
under
the
terms
of
the
GNU
Lesser
General
Public
*
License
as
published
by
the
Free
Software
Foundation
; either
*
version
2.1
of
the
License
,
or
(
at
your
option
)
any
later
version
.
*
*
This
library
is
distributed
in
the
hope
that
it
will
be
useful
,
*
but
WITHOUT
ANY
WARRANTY
; without even the implied warranty of
*
MERCHANTABILITY
or
FITNESS
FOR
A
PARTICULAR
PURPOSE
.
See
the
GNU
*
Lesser
General
Public
License
for
more
details
.
*
*
You
should
have
received
a
copy
of
the
GNU
Lesser
General
Public
*
License
along
with
this
library
; if not, write to the Free Software
*
Foundation
,
Inc
.
,
51
Franklin
St
,
Fifth
Floor
,
Boston
,
MA
02110
-
1301
,
USA
*/
#
ifdef
__WIDL__
#
pragma
winrt
ns_prefix
#
endif
import
"inspectable.idl"
;
import
"asyncinfo.idl"
;
import
"eventtoken.idl"
;
import
"windowscontracts.idl"
;
import
"windows.foundation.idl"
;
import
"windows.foundation.numerics.idl"
;
/*
import
"windows.perception.idl"
; */
import
"windows.storage.streams.idl"
;
/*
import
"windows.system.remotesystems.idl"
; */
namespace
Windows
.
Perception.Spatial
{
typedef
enum
SpatialPerceptionAccessStatus
SpatialPerceptionAccessStatus
;
typedef
struct
SpatialBoundingBox
SpatialBoundingBox
;
typedef
struct
SpatialBoundingFrustum
SpatialBoundingFrustum
;
typedef
struct
SpatialBoundingOrientedBox
SpatialBoundingOrientedBox
;
typedef
struct
SpatialBoundingSphere
SpatialBoundingSphere
;
interface
ISpatialBoundingVolume
;
interface
ISpatialBoundingVolumeStatics
;
interface
ISpatialCoordinateSystem
;
runtimeclass
SpatialBoundingVolume
;
runtimeclass
SpatialCoordinateSystem
;
declare
{
interface
Windows
.
Foundation.Collections.IIterable<Windows.Perception.Spatial.SpatialBoundingVolume
*
>
;
interface
Windows
.
Foundation.Collections.IIterator<Windows.Perception.Spatial.SpatialBoundingVolume
*
>
;
interface
Windows
.
Foundation.AsyncOperationCompletedHandler<Windows.Perception.Spatial.SpatialPerceptionAccessStatus>;
interface
Windows
.
Foundation.IAsyncOperation<Windows.Perception.Spatial.SpatialPerceptionAccessStatus>;
interface
Windows
.
Foundation.IReference<Windows.Perception.Spatial.SpatialBoundingBox>;
interface
Windows
.
Foundation.IReference<Windows.Perception.Spatial.SpatialBoundingFrustum>;
interface
Windows
.
Foundation.IReference<Windows.Perception.Spatial.SpatialBoundingOrientedBox>;
}
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
2.0
)
]
enum
SpatialPerceptionAccessStatus
{
Unspecified
=
0
,
Allowed
=
1
,
DeniedByUser
=
2
,
DeniedBySystem
=
3
,
}
;
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
2.0
)
]
struct
SpatialBoundingBox
{
Windows
.
Foundation.Numerics.Vector3
Center
;
Windows
.
Foundation.Numerics.Vector3
Extents
;
}
;
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
2.0
)
]
struct
SpatialBoundingFrustum
{
Windows
.
Foundation.Numerics.Plane
Near
;
Windows
.
Foundation.Numerics.Plane
Far
;
Windows
.
Foundation.Numerics.Plane
Right
;
Windows
.
Foundation.Numerics.Plane
Left
;
Windows
.
Foundation.Numerics.Plane
Top
;
Windows
.
Foundation.Numerics.Plane
Bottom
;
}
;
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
2.0
)
]
struct
SpatialBoundingOrientedBox
{
Windows
.
Foundation.Numerics.Vector3
Center
;
Windows
.
Foundation.Numerics.Vector3
Extents
;
Windows
.
Foundation.Numerics.Quaternion
Orientation
;
}
;
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
2.0
)
]
struct
SpatialBoundingSphere
{
Windows
.
Foundation.Numerics.Vector3
Center
;
FLOAT
Radius
;
}
;
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
2.0
),
exclusiveto
(
Windows
.
Perception.Spatial.SpatialBoundingVolume)
,
uuid
(
fb2065da
-
68
c3
-
33
df
-
b7af
-
4
c787207999c
)
]
interface
ISpatialBoundingVolume
:
IInspectable
{
}
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
2.0
),
exclusiveto
(
Windows
.
Perception.Spatial.SpatialBoundingVolume)
,
uuid
(
05889117
-
b3e1
-
36
d8
-
b017
-
566181
a5b196
)
]
interface
ISpatialBoundingVolumeStatics
:
IInspectable
{
HRESULT
FromBox
(
[
in
]
Windows
.
Perception.Spatial.SpatialCoordinateSystem
*
system
,
[
in
]
Windows
.
Perception.Spatial.SpatialBoundingBox
box
,
[
out
,
retval
]
Windows
.
Perception.Spatial.SpatialBoundingVolume
**
value
)
;
HRESULT
FromOrientedBox
(
[
in
]
Windows
.
Perception.Spatial.SpatialCoordinateSystem
*
system
,
[
in
]
Windows
.
Perception.Spatial.SpatialBoundingOrientedBox
box
,
[
out
,
retval
]
Windows
.
Perception.Spatial.SpatialBoundingVolume
**
value
)
;
HRESULT
FromSphere
(
[
in
]
Windows
.
Perception.Spatial.SpatialCoordinateSystem
*
system
,
[
in
]
Windows
.
Perception.Spatial.SpatialBoundingSphere
sphere
,
[
out
,
retval
]
Windows
.
Perception.Spatial.SpatialBoundingVolume
**
value
)
;
HRESULT
FromFrustum
(
[
in
]
Windows
.
Perception.Spatial.SpatialCoordinateSystem
*
system
,
[
in
]
Windows
.
Perception.Spatial.SpatialBoundingFrustum
frustum
,
[
out
,
retval
]
Windows
.
Perception.Spatial.SpatialBoundingVolume
**
value
)
;
}
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
2.0
),
exclusiveto
(
Windows
.
Perception.Spatial.SpatialCoordinateSystem)
,
uuid
(
69
ebca4b
-
60
a3
-
3586
-
a653
-
59
a7bd676d07
)
]
interface
ISpatialCoordinateSystem
:
IInspectable
{
HRESULT
TryGetTransformTo
(
[
in
]
Windows
.
Perception.Spatial.SpatialCoordinateSystem
*
target
,
[
out
,
retval
]
Windows
.
Foundation.IReference<Windows.Foundation.Numerics.Matrix4x4>
**
value
)
;
}
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
2.0
),
marshaling_behavior
(
agile
),
static
(
Windows
.
Perception.Spatial.ISpatialBoundingVolumeStatics
,
Windows
.
Foundation.UniversalApiContract
,
2.0
),
threading
(
both
)
]
runtimeclass
SpatialBoundingVolume
{
[
default
]
interface
Windows
.
Perception.Spatial.ISpatialBoundingVolume;
}
[
contract
(
Windows
.
Foundation.UniversalApiContract
,
2.0
),
marshaling_behavior
(
agile
),
threading
(
both
)
]
runtimeclass
SpatialCoordinateSystem
{
[
default
]
interface
Windows
.
Perception.Spatial.ISpatialCoordinateSystem;
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment