// Globals.h: Global variables // We use a class to hold these global values // in order not to pollute the global namespace // ////////////////////////////////////////////////////////////////////// #if !defined(GLOBALS_INCLUDED) #define GLOBALS_INCLUDED class Globals { public: enum {CAMERA_PIXELS = 577}; private: Globals(); // prevent inadvertent instantiation }; #endif // !defined(GLOBALS_INCLUDED)