On 1/2/08, David L <[EMAIL PROTECTED]> wrote:
> Sorry if this is a stupid question, but how can I forward declare
> gtkmm things so that gtkmm header files don't need to be
> included before defining a class that has gtkmm pointers?
>
> For example, I'd like to get rid of the two includes in this header file:
> // foo.h
> #include <gtkmm/window.h>
> #include <gtkmm/radioaction.h>
namespace Gtk {
class Window;
class RadioAction;
}
> class foo {
> public:
> foo();
> private:
> Gtk::Window *myWindow;
> Glib::RefPtr<Gtk::RadioAction> myRadioAction;
> };
hope that helps
--
jonner
_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list