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-2000 The LyX Team.
13 * This file Copyright 2000
15 * ======================================================
20 #include <sigc++/signal_system.h>
22 // If we do not want to bring them in global namespace, they could be
23 // defined inside DialogBase... (JMarc)
24 #ifdef SIGC_CXX_NAMESPACES
25 using SigC::Connection;
30 /** Abstract base class of all dialogs.
31 The outside world only needs some way to tell a dialog when to show, hide
32 or update itself. A dialog then takes whatever steps are necessary to
33 satisfy that request. Thus a dialog will have to "pull" the necessary
34 details from the core of the program.
36 #ifdef SIGC_CXX_NAMESPACES
37 class DialogBase : public SigC::Object
39 class DialogBase : public Object
43 /**@name Constructors and Deconstructors */
46 virtual ~DialogBase() {}
49 /**@name Signal Targets */
52 virtual void show() = 0;
54 virtual void hide() = 0;
56 virtual void update() = 0;
60 enum EnumDialogStatus {
67 #endif // DIALOGBASE_H