]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/mouse_state.h
GuiAbout: minor ui fix
[lyx.git] / src / frontends / mouse_state.h
index be5dedea29bffd54632e53c0c9799ce89ec3b3a3..fa310d08f002e9bcb295c0a494414ed83566ff83 100644 (file)
@@ -1,3 +1,4 @@
+// -*- C++ -*-
 /**
  * \file mouse_state.h
  * This file is part of LyX, the document processor.
@@ -6,14 +7,16 @@
  * GUII representation of mouse presses and
  * mouse button states
  *
- * \author John Levon 
+ * \author John Levon
  *
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  */
 
 #ifndef MOUSE_STATE_H
 #define MOUSE_STATE_H
 
+namespace lyx {
+
 /// used both for presses and held during motion
 namespace mouse_button {
 
@@ -30,7 +33,10 @@ inline void operator|=(state & s1, state s2)
 {
        s1 = static_cast<state>(s1 | s2);
 }
+
 } // namespace mouse_button
 
+
+} // namespace lyx
+
 #endif // MOUSE_STATE_H