]> git.lyx.org Git - lyx.git/blobdiff - src/BranchList.h
LFUN_UNICODE_INSERT - unicode-insert
[lyx.git] / src / BranchList.h
index c0b18b57a0ebf5e2056dfbef2266f437d9c6824e..77b8d2be93c768b4d064fe105fa7ded1cb6e3ea4 100644 (file)
@@ -36,6 +36,9 @@
 #include <list>
 
 
+namespace lyx {
+
+
 class Branch {
 public:
        ///
@@ -51,9 +54,9 @@ public:
         */
        bool setSelected(bool);
        ///
-       lyx::RGBColor const & getColor() const;
+       RGBColor const & getColor() const;
        ///
-       void setColor(lyx::RGBColor const &);
+       void setColor(RGBColor const &);
        /**
         * Set color from a string "#rrggbb".
         * Use LColor:background if the string is no valid color.
@@ -62,14 +65,13 @@ public:
         */
        void setColor(std::string const &);
 
-
 private:
        ///
        std::string branch_;
        ///
        bool selected_;
        ///
-       lyx::RGBColor color_;
+       RGBColor color_;
 };
 
 
@@ -124,4 +126,7 @@ private:
        std::string name_;
 };
 
+
+} // namespace lyx
+
 #endif