3 * Abstract base class of all dialogs.
4 * Author: Allan Rae <rae@lyx.org>
6 * ======================================================
8 * LyX, The Document Processor
10 * Copyright 1995 Matthias Ettrich
11 * Copyright 1995-2001 The LyX Team.
13 * This file Copyright 2000
15 * ======================================================
20 #include <sigc++/signal_system.h>
21 #include <boost/utility.hpp>
23 /** Abstract base class of all dialogs.
24 The outside world only needs some way to tell a dialog when to show, hide
25 or update itself. A dialog then takes whatever steps are necessary to
26 satisfy that request. Thus a dialog will have to "pull" the necessary
27 details from the core of the program.
29 class DialogBase : public SigC::Object, boost::noncopyable
32 /**@name Constructors and Deconstructors */
34 /// Virtual base destructor
35 virtual ~DialogBase() {}
38 /**@name Signal Targets */
41 //virtual void show() = 0;
43 virtual void hide() = 0;
45 virtual void update() {};
47 virtual void close() {};
51 #endif // DIALOGBASE_H