summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_pt/camera.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-07-20 13:25:33 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-07-20 13:25:33 +0200
commit0c1b4510b3f7a744cc4cad94e0d4dde45925269d (patch)
tree3fe5d5a56ee4d611c4876059ab7c1eeb8f68f5a4 /ftnoir_tracker_pt/camera.h
parentfa58baa2bb84fe51a6b835c72a92a7a9050cbf73 (diff)
cleanup #ifdefs
We're the only maintainer of the PT tracker now, so don't clutter the file so much.
Diffstat (limited to 'ftnoir_tracker_pt/camera.h')
-rw-r--r--ftnoir_tracker_pt/camera.h15
1 files changed, 2 insertions, 13 deletions
diff --git a/ftnoir_tracker_pt/camera.h b/ftnoir_tracker_pt/camera.h
index 5451ec09..343446ac 100644
--- a/ftnoir_tracker_pt/camera.h
+++ b/ftnoir_tracker_pt/camera.h
@@ -8,21 +8,10 @@
#pragma once
#include <opencv2/core/core.hpp>
-#ifndef OPENTRACK_API
-# include <boost/shared_ptr.hpp>
-#else
-# include <memory>
-# include <opencv2/highgui/highgui.hpp>
-# include <opencv2/highgui/highgui_c.h>
-#endif
+#include <memory>
+#include <opencv2/highgui.hpp>
#include <string>
-#ifndef OPENTRACK_API
-// ----------------------------------------------------------------------------
-void get_camera_device_names(std::vector<std::string>& device_names);
-#endif
-
-// ----------------------------------------------------------------------------
struct CamInfo
{
CamInfo() : res_x(0), res_y(0), fps(0) {}