Fixed compilation warning messages that Fl_PostScript_File_Device::start_job() hides an overloaded virtual function.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10308 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Manolo Gouy 2014-09-13 17:51:20 +00:00
parent 1b74551e9d
commit 0356bd257c
2 changed files with 8 additions and 1 deletions

View File

@ -224,7 +224,8 @@ public:
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,
int start_job(int pagecount, int* from, int* to);
int start_job(int pagecount, enum Fl_Paged_Device::Page_Format format = Fl_Paged_Device::A4,
enum Fl_Paged_Device::Page_Layout layout = Fl_Paged_Device::PORTRAIT);
int start_job(FILE *ps_output, int pagecount, enum Fl_Paged_Device::Page_Format format = Fl_Paged_Device::A4,
enum Fl_Paged_Device::Page_Layout layout = Fl_Paged_Device::PORTRAIT);

View File

@ -133,6 +133,12 @@ int Fl_PostScript_File_Device::start_job (FILE *ps_output, int pagecount,
return 0;
}
/** Don't use with this class. */
int Fl_PostScript_File_Device::start_job(int pagecount, int* from, int* to)
{
return 1;
}
/**
@brief The destructor.
*/