/*
- Copyright (C) 1999 Paul Barton-Davis
+ Copyright (C) 1999 Paul Barton-Davis
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
#include <gtkmm/main.h>
#include <gdkmm/color.h>
+#ifndef ABSTRACT_UI_EXPORTS
#define ABSTRACT_UI_EXPORTS
+#endif
#include "pbd/abstract_ui.h"
#include "pbd/ringbufferNPT.h"
#include "pbd/pool.h"
extern BaseUI::RequestType AddTimeout;
struct LIBGTKMM2EXT_API UIRequest : public BaseUI::BaseRequestObject {
-
+
/* this once used anonymous unions to merge elements
that are never part of the same request. that makes
the creation of a legal copy constructor difficult
because of the semantics of the slot member.
*/
-
+
Touchable *display;
const char *msg;
Gtk::StateType new_state;
UIRequest () {
type = NullMessage;
}
-
- ~UIRequest () {
+
+ ~UIRequest () {
if (type == ErrorMessage && msg) {
/* msg was strdup()'ed */
free (const_cast<char *>(msg));
void flush_pending ();
void toggle_errors ();
void show_errors ();
+ void dump_errors (std::ostream&);
void touch_display (Touchable *);
void set_tip (Gtk::Widget &w, const gchar *tip);
void set_tip (Gtk::Widget &w, const std::string &tip);
void process_error_message (Transmitter::Channel, const char *);
void do_quit ();
+ Glib::Threads::Mutex error_lock;
+ std::list<std::string> error_stack;
+
void color_selection_done (bool status);
bool color_selection_deleted (GdkEventAny *);
bool color_picked;