-2003-07-16 Angus Leeming <angus@localhost.localdomain>
+2003-07-17 Angus Leeming <leeming@lyx.org>
+
+ * ControlChanges.h:
+ * ControlErrorList.h:
+ * ControlLog.h:
+ * ControlMath.h:
+ * ControlShowFile.h:
+ * ControlTexinfo.h:
+ * ControlVCLog.h:
+ * Dialog.h: fix some doxygen warnings.
+
+ * Dialog.C: shuffle a couple of functions around.
+
+2003-07-16 Angus Leeming <leeming@lyx.org>
* ControlMath.C (find_xpm): rewrite to make Lars happy by using find_if.
* ControlMath.C (find_xpm): rewrite to make Lars happy by using find_if.
public:
///
ControlChanges(Dialog &);
public:
///
ControlChanges(Dialog &);
+ /// Nothing to initialise in this case.
virtual bool initialiseParams(string const &) { return true; }
///
virtual void clearParams() {}
virtual bool initialiseParams(string const &) { return true; }
///
virtual void clearParams() {}
///
virtual bool isBufferDependent() const { return true; }
///
///
virtual bool isBufferDependent() const { return true; }
///
- virtual bool initialiseParams(string const & params);
+ virtual bool initialiseParams(string const & data);
///
virtual void clearParams();
///
///
virtual void clearParams();
///
///
ControlLog(Dialog &);
///
///
ControlLog(Dialog &);
///
- virtual bool initialiseParams(string const &);
+ virtual bool initialiseParams(string const & data);
///
virtual void clearParams();
///
///
virtual void clearParams();
///
public:
ControlMath(Dialog &);
public:
ControlMath(Dialog &);
+ /// Nothing to initialise in this case.
virtual bool initialiseParams(string const &) { return true; }
virtual void clearParams() {}
virtual void dispatchParams() {}
virtual bool initialiseParams(string const &) { return true; }
virtual void clearParams() {}
virtual void dispatchParams() {}
void dispatchMatrix(string const & str) const;
/// Insert a delimiter
void dispatchDelim(string const & str) const;
void dispatchMatrix(string const & str) const;
/// Insert a delimiter
void dispatchDelim(string const & str) const;
- /// switch between display and inline
+ /// Wwitch between display and inline
void dispatchToggleDisplay() const;
void dispatchToggleDisplay() const;
- /// a request to launch dialog \param name.
+ /** A request to the kernel to launch a dialog.
+ * \param name the dialog identifier.
+ */
void showDialog(string const & name) const;
};
void showDialog(string const & name) const;
};
///
ControlShowFile(Dialog &);
///
///
ControlShowFile(Dialog &);
///
- virtual bool initialiseParams(string const &);
+ virtual bool initialiseParams(string const & data);
///
virtual void clearParams();
///
///
virtual void clearParams();
///
public:
///
ControlTexinfo(Dialog &);
public:
///
ControlTexinfo(Dialog &);
+ /// Nothing to initialise in this case.
virtual bool initialiseParams(string const &) { return true; }
///
virtual void clearParams() {}
virtual bool initialiseParams(string const &) { return true; }
///
virtual void clearParams() {}
public:
///
ControlVCLog(Dialog &);
public:
///
ControlVCLog(Dialog &);
+ /// Nothing to initialise in this case.
virtual bool initialiseParams(string const &) { return true; }
///
virtual void clearParams() {}
virtual bool initialiseParams(string const &) { return true; }
///
virtual void clearParams() {}
+void Dialog::setController(Controller * i)
+{
+ Assert(i && !controller_ptr_.get());
+ controller_ptr_.reset(i);
+}
+
+
+void Dialog::setView(View * v)
+{
+ Assert(v && !view_ptr_.get());
+ view_ptr_.reset(v);
+}
+
+
Dialog::Controller::Controller(Dialog & parent)
: parent_(parent)
{}
Dialog::Controller::Controller(Dialog & parent)
: parent_(parent)
{}
-void Dialog::setController(Controller * i)
-{
- Assert(i && !controller_ptr_.get());
- controller_ptr_.reset(i);
-}
-
-
-void Dialog::setView(View * v)
-{
- Assert(v && !view_ptr_.get());
- view_ptr_.reset(v);
-}
+void Dialog::View::partialUpdate(int)
+{}
* dialog therefore needs updating.
* \param id identifies what should be updated.
*/
* dialog therefore needs updating.
* \param id identifies what should be updated.
*/
- virtual void partialUpdate(int /* id */) {}
+ virtual void partialUpdate(int id);
/// sets the title of the dialog (window caption)
void setTitle(string const &);
/// sets the title of the dialog (window caption)
void setTitle(string const &);