Re: forward declarations of gtkmm stuff
- From: "Naveen Verma" <ernaveenverma gmail com>
- To: "David L" <idht4n gmail com>
- Cc: gtkmm-list gnome org
- Subject: Re: forward declarations of gtkmm stuff
- Date: Wed, 2 Jan 2008 16:31:45 +0200
Hi,
Wt if you try to include only gtkmm.h?
#include <gtkmm.h>
-Br
Naveen
On Jan 2, 2008 4:11 PM, David L <
idht4n gmail com> 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>
class foo {
public:
foo();
private:
Gtk::Window *myWindow;
Glib::RefPtr<Gtk::RadioAction> myRadioAction;
};
Thanks,
David
_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]