X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fmouse_state.h;h=fa310d08f002e9bcb295c0a494414ed83566ff83;hb=d80053cda86767a3c29c231fbb75800492ad5ff2;hp=be5dedea29bffd54632e53c0c9799ce89ec3b3a3;hpb=1eb8155fa0d2253d9504a8d660cb3d666c1224f6;p=lyx.git diff --git a/src/frontends/mouse_state.h b/src/frontends/mouse_state.h index be5dedea29..fa310d08f0 100644 --- a/src/frontends/mouse_state.h +++ b/src/frontends/mouse_state.h @@ -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(s1 | s2); } - + } // namespace mouse_button + +} // namespace lyx + #endif // MOUSE_STATE_H