+// -*- C++ -*-
/* This file is part of
* ======================================================
*
#ifndef CONTROLMINIPAGE_H
#define CONTROLMINIPAGE_H
+#include <vector>
+
#ifdef __GNUG__
#pragma interface
#endif
MinipageParams();
///
MinipageParams(InsetMinipage const &);
- ///
- bool operator==(MinipageParams const &) const;
- ///
- bool operator!=(MinipageParams const &) const;
-
///
string width;
///
- int widthp;
- ///
InsetMinipage::Position pos;
};
-class InsetMinipage;
-class MinipageParams;
+///
+bool operator==(MinipageParams const &, MinipageParams const &);
+///
+bool operator!=(MinipageParams const &, MinipageParams const &);
+
/** A controller for Minipage dialogs.
*/
virtual void applyParamsToInset();
///
virtual void applyParamsNoInset();
- ///
- virtual void clearDaughterParams() {}
/// get the parameters from the string passed to createInset.
virtual MinipageParams const getParams(string const &)
{ return MinipageParams(); }
virtual MinipageParams const getParams(InsetMinipage const &);
};
+/// Helper functions
+namespace minipage {
+
+ std::vector<string> const getUnits();
+
+} // namespace minipage
+
#endif