lyx_mirror/src/frontends/controllers/ControlErrorList.h
Bo Peng 00e305c9d9 Rename .C ==> .cpp for files in src, part one
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18018 a592a061-630c-0410-9148-cb99ea01b6c8
2007-04-26 04:41:58 +00:00

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