#ifndef SG_SCREEN #define SG_SCREEN #include #include typedef unsigned int mm; class Screen { public: virtual ~Screen(); mm getHeight() const; mm getWidth() const; friend std::ostream& operator<<(std::ostream& ostr, const Screen& screen); protected: mm width; mm height; Screen(mm width, mm height); virtual std::string extraOutput() const = 0; }; std::ostream& operator<<(std::ostream& ostr, const Screen& screen); #endif /* SG_SCREEN */