vfs: check userland buffers before reading them.
[haiku.git] / src / add-ons / print / drivers / gutenprint / GPJobConfiguration.h
blobf122dade3ed4b1bbbb9470e77ad2ea6332ef910e
1 /*
2 * Copyright 2010, Haiku. All rights reserved.
3 * Distributed under the terms of the MIT License.
5 * Authors:
6 * Michael Pfeiffer
7 */
8 #ifndef GP_JOB_CONFIGURATION_H
9 #define GP_JOB_CONFIGURATION_H
11 #include<String.h>
13 #include <map>
14 #include <string>
16 using namespace std;
18 class GPJobConfiguration
20 public:
21 GPJobConfiguration();
23 BString fDriver;
24 BString fPageSize;
25 BString fResolution;
26 BString fInputSlot;
27 BString fPrintingMode;
29 int fXDPI;
30 int fYDPI;
32 map<string, string> fStringSettings;
33 map<string, bool> fBooleanSettings;
34 map<string, int32> fIntSettings;
35 map<string, int32> fDimensionSettings;
36 map<string, double> fDoubleSettings;
39 #endif