diff options
Diffstat (limited to 'unix/x0vncserver/Geometry.h')
-rw-r--r-- | unix/x0vncserver/Geometry.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/unix/x0vncserver/Geometry.h b/unix/x0vncserver/Geometry.h index d938d63f..709d5e35 100644 --- a/unix/x0vncserver/Geometry.h +++ b/unix/x0vncserver/Geometry.h @@ -23,8 +23,9 @@ #ifndef __GEOMETRY_H__ #define __GEOMETRY_H__ -#include <rfb/Rect.h> -#include <rfb/Configuration.h> +#include <core/Rect.h> + +namespace core { class StringParameter; } class Geometry { @@ -42,18 +43,18 @@ public: int offsetTop() const { return m_rect.tl.y; } // Return the same information as a Rect structure. - const rfb::Rect& getRect() const { return m_rect; } + const core::Rect& getRect() const { return m_rect; } protected: // Parse a string, extract size and coordinates, // and return that rectangle clipped to m_rect. - rfb::Rect parseString(const char *arg) const; + core::Rect parseString(const char* arg) const; - static rfb::StringParameter m_geometryParam; + static core::StringParameter m_geometryParam; int m_fullWidth; int m_fullHeight; - rfb::Rect m_rect; + core::Rect m_rect; }; #endif // __GEOMETRY_H__ |