diff src/DLD-FUNCTIONS/__init_fltk__.cc @ 12122:f4689107dd8c

Explicitly disallow copying in some classes.
author Pascal Dupuis <Pascal.Dupuis@uclouvain.be>
date Sat, 22 Jan 2011 02:21:52 -0500
parents 4ced6b90fffb
children b4d26c65e7e6
line wrap: on
line diff
--- a/src/DLD-FUNCTIONS/__init_fltk__.cc	Fri Jan 21 20:22:42 2011 +0100
+++ b/src/DLD-FUNCTIONS/__init_fltk__.cc	Sat Jan 22 02:21:52 2011 -0500
@@ -608,6 +608,13 @@
     }
 
 private:
+
+  // No copying!
+
+  fltk_uimenu (const fltk_uimenu&);
+
+  fltk_uimenu operator = (const fltk_uimenu&);
+
   Fl_Menu_Bar* menubar;
 };
 
@@ -870,6 +877,13 @@
   }
 
 private:
+
+  // No copying!
+
+  plot_window (const plot_window&);
+
+  plot_window& operator = (const plot_window&);
+
   // window name -- this must exists for the duration of the window's
   // life
   std::string window_label;