#ifndef _GYROSCOPE_HPP_ #define _GYROSCOPE_HPP_ #include class Gyroscope { public: Gyroscope(); ~Gyroscope(); void getOrientation(); private: class GyroscopeImpl; // forward declaration std::unique_ptr impl; }; #endif // _GYROSCOPE_HPP_