summaryrefslogtreecommitdiff
path: root/FL/Fl_PostScript.H
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2011-02-23 14:36:18 +0000
committerManolo Gouy <Manolo>2011-02-23 14:36:18 +0000
commitd8822aa74af1c886f7ef4df58e42f52af397042d (patch)
treefff5ed100610eb65d2740ab190a00a414d28ba91 /FL/Fl_PostScript.H
parent5a6da14af3884a55359bd148bcb79d62010c9f6b (diff)
Fl_Device: removed class_name(char *) member function and set class_name(void) virtual.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8467 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_PostScript.H')
-rw-r--r--FL/Fl_PostScript.H2
1 files changed, 2 insertions, 0 deletions
diff --git a/FL/Fl_PostScript.H b/FL/Fl_PostScript.H
index 61f7faecc..a7d30f1c7 100644
--- a/FL/Fl_PostScript.H
+++ b/FL/Fl_PostScript.H
@@ -64,6 +64,7 @@
class Fl_PostScript_Graphics_Driver : public Fl_Graphics_Driver {
public:
static const char *class_id;
+ const char *class_name() {return class_id;};
Fl_PostScript_Graphics_Driver();
#ifndef FL_DOXYGEN
enum SHAPE{NONE=0, LINE, LOOP, POLYGON, POINTS};
@@ -224,6 +225,7 @@ protected:
Fl_PostScript_Graphics_Driver *driver();
public:
static const char *class_id;
+ const char *class_name() {return class_id;};
Fl_PostScript_File_Device();
~Fl_PostScript_File_Device();
int start_job(int pagecount, enum Fl_Paged_Device::Page_Format format = Fl_Paged_Device::A4,