]> git.lyx.org Git - lyx.git/blobdiff - src/UpdateFlags.h
add config.h
[lyx.git] / src / UpdateFlags.h
index 3c8da08853bcc74a74c466f814e9b495bd81afb4..d092e74b3e4b92981ee7951ac976391949924407 100644 (file)
@@ -1,28 +1,40 @@
-#ifndef UPDATE_FLAGS_H\r
-#define UPDATE_FLAGS_H\r
-\r
-namespace lyx {\r
-\r
-namespace Update {\r
-       enum flags {\r
-               None = 0,\r
-               FitCursor = 1,\r
-               Force = 2,\r
-               SinglePar = 4,\r
-               MultiParSel = 8\r
-       };\r
-\r
-inline flags operator|(flags const f, flags const g)\r
-{\r
-       return static_cast<flags>(int(f) | int(g));\r
-}\r
-\r
-inline flags operator&(flags const f, flags const g)\r
-{\r
-       return static_cast<flags>(int(f) & int(g));\r
-}\r
-\r
-} // namespace\r
-\r
-} // namespace lyx\r
-#endif\r
+// -*- C++ -*-
+/**
+ * \file UpdateFlags.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
+ *
+ * \author The Denmark Cowboys
+ *
+ * Full author contact details are available in file CREDITS.
+ */
+
+#ifndef UPDATE_FLAGS_H
+#define UPDATE_FLAGS_H
+
+namespace lyx {
+
+namespace Update {
+       enum flags {
+               None = 0,
+               FitCursor = 1,
+               Force = 2,
+               SinglePar = 4,
+               MultiParSel = 8,
+               Decoration = 16
+       };
+
+inline flags operator|(flags const f, flags const g)
+{
+       return static_cast<flags>(int(f) | int(g));
+}
+
+inline flags operator&(flags const f, flags const g)
+{
+       return static_cast<flags>(int(f) & int(g));
+}
+
+} // namespace
+
+} // namespace lyx
+#endif