Code

Split SPCanvasItem and SPCanvasGroup to individual .h files. Removed forward header.
[inkscape.git] / src / rubberband.h
index 6da1ddd8d3f59f5c4c26c68eb8c017c6d5d1d518..6c857fb63aa701c31294b2c36c90e7246102e307 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef __RUBBERBAND_H__
-#define __RUBBERBAND_H__
+#ifndef SEEN_RUBBERBAND_H
+#define SEEN_RUBBERBAND_H
 
 /**
  * \file src/rubberband.h
@@ -40,7 +40,7 @@ public:
 
     void start(SPDesktop *desktop, Geom::Point const &p);
     void move(Geom::Point const &p);
-    boost::optional<Geom::Rect> getRectangle() const;
+    Geom::OptRect getRectangle() const;
     void stop();
     bool is_started();
 
@@ -74,7 +74,7 @@ private:
 
 }
 
-#endif
+#endif // SEEN_RUBBERBAND_H
 
 /*
   Local Variables:
@@ -85,4 +85,4 @@ private:
   fill-column:99
   End:
 */
-// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :
+// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 :