Skip to content

Commit ec04a63

Browse files
committed
Merge pull request #310 from frc1334/master
Adding to the C++ wrapper access to the underlying C freenect_device Reviewed-by: Benn Snyder <[email protected]>
2 parents 89ccc40 + 0db382c commit ec04a63

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)