a boatload of minor and middle-sized changes to try to speed up undo. imperfect,...
[ardour.git] / gtk2_ardour / simplerect_p.h
1 /*
2     Copyright (C) 2000-2007 Paul Davis
3
4     This program is free software; you can redistribute it and/or modify
5     it under the terms of the GNU General Public License as published by
6     the Free Software Foundation; either version 2 of the License, or
7     (at your option) any later version.
8
9     This program is distributed in the hope that it will be useful,
10     but WITHOUT ANY WARRANTY; without even the implied warranty of
11     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12     GNU General Public License for more details.
13
14     You should have received a copy of the GNU General Public License
15     along with this program; if not, write to the Free Software
16     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
17
18 */
19
20 // -*- c++ -*-
21 #ifndef _LIBGNOMECANVASMM_SIMPLERECT_P_H
22 #define _LIBGNOMECANVASMM_SIMPLERECT_P_H
23
24 #include <glibmm/class.h>
25
26 namespace Gnome
27 {
28
29 namespace Canvas
30 {
31
32 class SimpleRect_Class : public Glib::Class
33 {
34 public:
35 #ifndef DOXYGEN_SHOULD_SKIP_THIS
36   typedef SimpleRect CppObjectType;
37   typedef GnomeCanvasSimpleRect BaseObjectType;
38   typedef GnomeCanvasSimpleRectClass BaseClassType;
39   typedef Shape_Class CppClassParent;
40   typedef GnomeCanvasItemClass BaseClassParent;
41
42   friend class SimpleRect;
43 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
44
45   const Glib::Class& init();
46
47   static void class_init_function(void* g_class, void* class_data);
48
49   static Glib::ObjectBase* wrap_new(GObject*);
50
51 protected:
52
53   //Callbacks (default signal handlers):
54   //These will call the *_impl member methods, which will then call the existing default signal callbacks, if any.
55   //You could prevent the original default signal handlers being called by overriding the *_impl method.
56
57   //Callbacks (virtual functions):
58 };
59
60
61 } // namespace Canvas
62
63 } // namespace Gnome
64
65 #endif /* _LIBGNOMECANVASMM_SIMPLERECT_P_H */
66