Skip to content

Commit

Permalink
Merge pull request OpenKinect#310 from frc1334/master
Browse files Browse the repository at this point in the history
Adding to the C++ wrapper access to the underlying C freenect_device

Reviewed-by: Benn Snyder <[email protected]>
  • Loading branch information
piedar committed Jul 16, 2013
2 parents 89ccc40 + 0db382c commit ec04a63
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions wrappers/cpp/libfreenect.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,9 @@ namespace Freenect {
freenect_resolution getDepthResolution() {
return m_depth_resolution;
}
const freenect_device *getDevice() {
return m_dev;
}
// Do not call directly even in child
virtual void VideoCallback(void *video, uint32_t timestamp) = 0;
// Do not call directly even in child
Expand Down

0 comments on commit ec04a63

Please sign in to comment.