diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2003-01-28 20:51:17 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2003-01-28 20:51:17 +0000 |
| commit | fc22bc93a0b3724c759b9e28fb680d4f0b44376b (patch) | |
| tree | 273ec97e80dad2f3860fe454a0b24f10b9012f63 /fluid/Fl_Type.h | |
| parent | 226715d978654145c1a011fe8ebf35431774c33d (diff) | |
Support type qualifiers before a class name; this allows for things like
"FL_EXPORT Fl_File_Chooser"...
Update Fl_File_Chooser and Fl_Help_Dialog to use the new interface so
that we don't have to add FL_EXPORT every time we make a change...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2934 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fluid/Fl_Type.h')
| -rw-r--r-- | fluid/Fl_Type.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/fluid/Fl_Type.h b/fluid/Fl_Type.h index 2c4fa0540..3dcf27497 100644 --- a/fluid/Fl_Type.h +++ b/fluid/Fl_Type.h @@ -1,5 +1,5 @@ // -// "$Id: Fl_Type.h,v 1.5.2.11.2.7 2002/10/30 21:06:14 matthiaswm Exp $" +// "$Id: Fl_Type.h,v 1.5.2.11.2.8 2003/01/28 20:51:11 easysw Exp $" // // Widget type header file for the Fast Light Tool Kit (FLTK). // @@ -230,6 +230,12 @@ public: int pixmapID() { return 12; } void write_properties(); void read_property(const char *); + + // class prefix attribute access + void prefix(const char* p); + const char* prefix() const {return class_prefix;} +private: + const char* class_prefix; }; #define NUM_EXTRA_CODE 4 @@ -587,5 +593,5 @@ int storestring(const char *n, const char * & p, int nostrip=0); extern int include_H_from_C; // -// End of "$Id: Fl_Type.h,v 1.5.2.11.2.7 2002/10/30 21:06:14 matthiaswm Exp $". +// End of "$Id: Fl_Type.h,v 1.5.2.11.2.8 2003/01/28 20:51:11 easysw Exp $". // |
