mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-14 15:05:56 +00:00
00e305c9d9
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18018 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
|