]> git.lyx.org Git - lyx.git/blob - src/support/ProgressInterface.h
add progress view of system calls
[lyx.git] / src / support / ProgressInterface.h
1 // -*- C++ -*-
2 /**
3  * \file ProgressInterface.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Peter Kümmel
8  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #ifndef LYX_SUPPORT_PROGRESSINTERFACE_H
13 #define LYX_SUPPORT_PROGRESSINTERFACE_H
14
15 class QString;
16
17 namespace lyx {
18 namespace support {
19
20
21 class ProgressInterface
22 {
23 public:
24         virtual ~ProgressInterface() {}
25
26         virtual void appendMessage(QString const &) = 0;
27         virtual void clearMessages() = 0;
28
29 protected:
30         ProgressInterface() {}
31 };
32
33
34 } // namespace support
35 } // namespace lyx
36
37 #endif // LYX_SUPPORT_PROGRESSINTERFACE_H
38