mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-14 06:57:01 +00:00
56 lines
963 B
C
56 lines
963 B
C
|
/**
|
||
|
* \file FormVCLog.h
|
||
|
* Copyright 2001 the LyX Team
|
||
|
* Read the file COPYING
|
||
|
*
|
||
|
* \author John Levon
|
||
|
*/
|
||
|
|
||
|
|
||
|
#ifndef FORMVCLOG_H
|
||
|
#define FORMVCLOG_H
|
||
|
|
||
|
#include "DialogBase.h"
|
||
|
#include "LString.h"
|
||
|
#include "boost/utility.hpp"
|
||
|
|
||
|
class Dialogs;
|
||
|
class LyXView;
|
||
|
class LogDialog;
|
||
|
|
||
|
class FormVCLog : public DialogBase, public noncopyable {
|
||
|
public:
|
||
|
FormVCLog(LyXView *, Dialogs *);
|
||
|
|
||
|
~FormVCLog();
|
||
|
|
||
|
/// close the connections
|
||
|
virtual void close();
|
||
|
/// Update the dialog
|
||
|
virtual void update();
|
||
|
/// Update the dialog from slot
|
||
|
virtual void supdate(bool = false);
|
||
|
|
||
|
protected:
|
||
|
/// Create the dialog if necessary, update it and display it
|
||
|
virtual void show();
|
||
|
/// Hide the dialog
|
||
|
virtual void hide();
|
||
|
|
||
|
/// Real GUI implementation.
|
||
|
LogDialog * dialog_;
|
||
|
|
||
|
/// the LyXView we belong to
|
||
|
LyXView * lv_;
|
||
|
|
||
|
/// the Dialogs object we belong to
|
||
|
Dialogs * d_;
|
||
|
|
||
|
/// Hide connection.
|
||
|
Connection h_;
|
||
|
/// Update connection.
|
||
|
Connection u_;
|
||
|
};
|
||
|
|
||
|
#endif // FORMVCLOG_H
|