diff --git a/pylonwrapper.h b/pylonwrapper.h index 1ddf9ee..243b37b 100644 --- a/pylonwrapper.h +++ b/pylonwrapper.h @@ -1,5 +1,5 @@ -#ifndef PYLONRECORDER_H -#define PYLONRECORDER_H +#ifndef PYLONWRAPPER_H +#define PYLONWRAPPER_H #include <pylon/PylonIncludes.h> #include <pylon/BaslerUniversalInstantCamera.h> @@ -7,13 +7,6 @@ #include "util.h" #include "myimage.h" -struct ImageSettings { - int64_t width = 0; - int64_t height = 0; - Pylon::EPixelType pixelType; - Pylon::EImageOrientation orientation; -}; - class PylonWrapper { public: @@ -47,4 +40,4 @@ private: }; -#endif // PYLONRECORDER_H +#endif // PYLONWRAPPER_H diff --git a/util.h b/util.h index 0c5aa57..e6e3c15 100644 --- a/util.h +++ b/util.h @@ -29,4 +29,12 @@ enum class VideoFormat { raw, mp4 }; + +struct ImageSettings { + int64_t width = 0; + int64_t height = 0; + Pylon::EPixelType pixelType; + Pylon::EImageOrientation orientation; +}; + #endif /*UTIL_H*/ \ No newline at end of file