]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/RadioButtonGroup.h
Change the semantics of 'none' and 'auto' viewers/editors: 'none' means now
[lyx.git] / src / frontends / xforms / RadioButtonGroup.h
index 5fc6b1ed4d6704a6b081da7aa5c1777f76592166..3be3c0ad6182c064d8b2e0fc325d343f151efb3e 100644 (file)
 #ifndef RADIOBUTTONGROUP_H
 #define RADIOBUTTONGROUP_H
 
-
 #include "support/types.h"
 #include <vector>
 #include <utility>
 #include "forms_fwd.h"
 
+namespace lyx {
+namespace frontend {
+
 /** This class simplifies interaction with a group of radio buttons:
  *  one, and only one, can be selected.
  *  The idea is that you register a bunch of radio buttons with
@@ -31,8 +33,6 @@
  */
 class RadioButtonGroup {
 public:
-       ///
-       typedef lyx::size_type size_type;
 
        /// Register a radio button with its corresponding value.
        void init(FL_OBJECT * ob, size_type value);
@@ -58,4 +58,7 @@ private:
        ButtonValueMap map;
 };
 
+} // namespace frontend
+} // namespace lyx
+
 #endif // RADIOBUTTONGROUP_H