#define DIALOGBASE_H
#include <sigc++/signal_system.h>
+#include <boost/utility.hpp>
// If we do not want to bring them in global namespace, they could be
// defined inside DialogBase... (JMarc)
#ifdef SIGC_CXX_NAMESPACES
using SigC::Connection;
using SigC::slot;
+using SigC::Object;
#endif
satisfy that request. Thus a dialog will have to "pull" the necessary
details from the core of the program.
*/
-#ifdef SIGC_CXX_NAMESPACES
-///
-class DialogBase : public SigC::Object
-#else
-///
-class DialogBase : public Object
-#endif
+class DialogBase : public Object, public noncopyable
{
public:
/**@name Constructors and Deconstructors */
///
virtual void hide() = 0;
///
- virtual void update() = 0;
- //@}
-
+ virtual void update() {};
///
- enum EnumDialogStatus {
- DIALOG_UNMODIFIED,
- DIALOG_MODIFIED,
- DIALOG_READONLY
- };
+ virtual void close() {};
+ //@}
};
#endif // DIALOGBASE_H