+ int prefheight;
+ int prefwidth;
+
+ Gtk::HBox top_box;
+ Gtk::EventBox low_box;
+ Gtk::VBox vpacker;
+ Gtk::Label automation_mode_label;
+ Gtk::ComboBoxText automation_mode_selector;
+ Gtk::Label preset_label;
+
+ static std::vector<std::string> automation_mode_strings;
+
+ /* Cocoa */
+
+ NSWindow* cocoa_window;
+ NSView* au_view;
+
+ /* Carbon */
+
+ NSWindow* cocoa_parent;
+ ComponentDescription carbon_descriptor;
+ AudioUnitCarbonView editView;
+ WindowRef carbon_window;
+ EventHandlerRef carbon_event_handler;
+ bool _activating_from_app;
+ NotificationObject* _notify;
+
+ bool test_cocoa_view_support ();
+ bool test_carbon_view_support ();
+ int create_carbon_view ();
+ int create_cocoa_view ();
+
+ int parent_carbon_window ();
+ int parent_cocoa_window ();
+ NSWindow* get_nswindow();