* Store resolution ID in libprint specific field in JobData;

as the pair of x/y resolutions might not be unique in all
  supported Gutenprint printer models 


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39142 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Michael Pfeiffer
2010-10-25 14:46:26 +00:00
parent f53abcbdf8
commit f412257ccb
3 changed files with 30 additions and 12 deletions
+4
View File
@@ -226,6 +226,7 @@ public:
private:
bool fShowPreview;
Paper fPaper;
int32 fResolutionID;
int32 fXRes;
int32 fYRes;
Orientation fOrientation;
@@ -271,6 +272,9 @@ public:
Paper getPaper() const { return fPaper; }
void setPaper(Paper paper) { fPaper = paper; }
int32 getResolutionID() const { return fResolutionID; }
void setResolutionID(int32 resolution) { fResolutionID = resolution; }
int32 getXres() const { return fXRes; }
void setXres(int32 xres) { fXRes = xres; }