mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 02:49:46 +00:00
2a890b4b96
* ControlErrorList: - error_list_: deleted - error_type_: new private member. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16849 a592a061-630c-0410-9148-cb99ea01b6c8
53 lines
1.0 KiB
C++
53 lines
1.0 KiB
C++
// -*- C++ -*-
|
|
/**
|
|
* \file ControlErrorList.h
|
|
* This file is part of LyX, the document processor.
|
|
* Licence details can be found in the file COPYING.
|
|
*
|
|
* \author Alfredo Braunstein
|
|
*
|
|
* Full author contact details are available in file CREDITS.
|
|
*/
|
|
|
|
#ifndef CONTROLERRORLIST_H
|
|
#define CONTROLERRORLIST_H
|
|
|
|
#include "errorlist.h"
|
|
#include "Dialog.h"
|
|
|
|
namespace lyx {
|
|
namespace frontend {
|
|
|
|
/** A controller for the ErrorList dialog.
|
|
*/
|
|
class ControlErrorList : public Dialog::Controller {
|
|
public:
|
|
///
|
|
ControlErrorList(Dialog & parent);
|
|
///
|
|
virtual bool isBufferDependent() const { return true; }
|
|
///
|
|
virtual bool initialiseParams(std::string const & data);
|
|
///
|
|
virtual void clearParams();
|
|
///
|
|
virtual void dispatchParams() {}
|
|
|
|
/// goto this error in the parent bv
|
|
void goTo(int item);
|
|
/// return the parent document name
|
|
std::string const & name();
|
|
///
|
|
ErrorList const & errorList() const;
|
|
private:
|
|
///
|
|
std::string error_type_;
|
|
///
|
|
std::string name_;
|
|
};
|
|
|
|
} // namespace frontend
|
|
} // namespace lyx
|
|
|
|
#endif // CONTROLERRORLIST_H
|