~ubuntu-branches/ubuntu/feisty/photoprint/feisty

« back to all changes in this revision

Viewing changes to gprintersettings.h

  • Committer: Bazaar Package Importer
  • Author(s): Milan Zamazal
  • Date: 2006-09-29 12:18:16 UTC
  • Revision ID: james.westby@ubuntu.com-20060929121816-6t2iz9zaymixd3om
Tags: upstream-0.3.3
ImportĀ upstreamĀ versionĀ 0.3.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef GPRINTERSETTINGS_H
 
2
#define GPRINTERSETTINGS_H
 
3
 
 
4
#include "gutenprint/gutenprint.h"
 
5
#include "printoutput.h"
 
6
 
 
7
class GPrinterSettings : public ConfigSectionHandler
 
8
{
 
9
        public:
 
10
        GPrinterSettings(PrintOutput &output,ConfigFile *inf,const char *section);
 
11
        ~GPrinterSettings();
 
12
        void ParseString(const char *string);
 
13
        void SaveSection(FILE *file);
 
14
        void SelectSection();
 
15
        bool SetDriver(const char *driver);
 
16
        void SetPageSize(const char *pagesize);
 
17
        void Validate();
 
18
        void Reset();
 
19
        void Dump();
 
20
        stp_vars_t *stpvars;
 
21
        protected:
 
22
        PrintOutput &output;
 
23
        private:
 
24
        bool initialised;
 
25
};
 
26
 
 
27
 
 
28
#endif