Merge libs/ardour and gtk2_ardour with 2.0-ongoing R2837.
[ardour.git] / gtk2_ardour / simpleline_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_SIMPLELINE_P_H
22 #define _LIBGNOMECANVASMM_SIMPLELINE_P_H
23 #include <libgnomecanvasmm/private/item_p.h>
24
25 #include <glibmm/class.h>
26
27 namespace Gnome
28 {
29
30 namespace Canvas
31 {
32
33 class SimpleLine_Class : public Glib::Class
34 {
35 public:
36 #ifndef DOXYGEN_SHOULD_SKIP_THIS
37   typedef SimpleLine CppObjectType;
38   typedef GnomeCanvasSimpleLine BaseObjectType;
39   typedef GnomeCanvasSimpleLineClass BaseClassType;
40   typedef Item_Class CppClassParent;
41   typedef GnomeCanvasItemClass BaseClassParent;
42
43   friend class SimpleLine;
44 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
45
46   const Glib::Class& init();
47
48   static void class_init_function(void* g_class, void* class_data);
49
50   static Glib::ObjectBase* wrap_new(GObject*);
51
52 protected:
53
54   //Callbacks (default signal handlers):
55   //These will call the *_impl member methods, which will then call the existing default signal callbacks, if any.
56   //You could prevent the original default signal handlers being called by overriding the *_impl method.
57
58   //Callbacks (virtual functions):
59 };
60
61
62 } // namespace Canvas
63
64 } // namespace Gnome
65
66 #endif /* _LIBGNOMECANVASMM_SIMPLELINE_P_H */
67