#include "ui_CompareUi.h"
#include "qt_helpers.h"
+#include "Compare.h"
+
namespace lyx {
namespace frontend {
///
void selectOldFile();
+ ///
+ void error();
///
void finished(bool aborted);
///
- void nextIt(int);
+ void progress(int);
///
void progressMax(int) const;
+ ///
+ void setStatusMessage(QString);
private:
///
/// enable or disable all controls and rename the Close/Cancel button
- void enableControls(bool enable) const;
+ void enableControls(bool enable);
/// browse for a file
QString browse(QString const & in_name) const;
int run();
private:
+ /// the object that will do the comparison
+ Compare * compare_;
+
/// the buffer that will contain the result
Buffer * dest_buffer_;
/// the buffer that will contain the result
Buffer const * old_buffer_;
/// the buffer that will contain the result
Buffer const * new_buffer_;
-
- /// the window title
- mutable QString window_title_;
};