Skip to content

Commit 0db382c

Browse files
author
josephd
committed
Adding to C++ wrapper a method to access the underlying freenect_device
Signed-off-by: Joseph J Dillon <[email protected]> josephd
1 parent 9ab2c20 commit 0db382c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

wrappers/cpp/libfreenect.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,9 @@ namespace Freenect {
132132
freenect_resolution getDepthResolution() {
133133
return m_depth_resolution;
134134
}
135+
const freenect_device *getDevice() {
136+
return m_dev;
137+
}
135138
// Do not call directly even in child
136139
virtual void VideoCallback(void *video, uint32_t timestamp) = 0;
137140
// Do not call directly even in child

0 commit comments

Comments
 (0)