lyx_mirror/src/frontends/controllers/ControlErrorList.h
Lars Gullik Bjønnes 44cd0fc9a1 The std::string mammoth path.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7862 a592a061-630c-0410-9148-cb99ea01b6c8
2003-10-06 15:43:21 +00:00

51 lines
971 B
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"
/** 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:
///
ErrorList errorlist_;
///
std::string name_;
};
#endif // CONTROLERRORLIST_H