summaryrefslogtreecommitdiff
path: root/src/xsane-preferences.h
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2014-10-03 14:05:03 +0000
committerMattia Rizzolo <mattia@mapreri.org>2014-10-03 14:05:03 +0000
commit817e6294b42b3e4435f1b99728afc1dca84a6445 (patch)
tree75bc563b5fe4149fe7e5cbf7a5c2cbcee5ea0fb3 /src/xsane-preferences.h
parente7e90b72fd3161c5d55fed49e100781dfa3e9408 (diff)
Imported Upstream version 0.97upstream/0.97
Diffstat (limited to 'src/xsane-preferences.h')
-rw-r--r--src/xsane-preferences.h21
1 files changed, 18 insertions, 3 deletions
diff --git a/src/xsane-preferences.h b/src/xsane-preferences.h
index a6686b5..e0b90c0 100644
--- a/src/xsane-preferences.h
+++ b/src/xsane-preferences.h
@@ -3,7 +3,7 @@
xsane-preferences.h
Oliver Rauch <Oliver.Rauch@rauch-domain.de>
- Copyright (C) 1998-2002 Oliver Rauch
+ Copyright (C) 1998-2005 Oliver Rauch
This file is part of the XSANE package.
This program is free software; you can redistribute it and/or modify
@@ -88,7 +88,9 @@ typedef struct
{
char *xsane_version_str; /* xsane-version string */
char *tmp_path; /* path to temporary directory */
+ char *working_directory; /* directory where xsane saves images etc */
char *filename; /* default filename */
+ char *filetype; /* default filetype */
int image_umask; /* image umask (permisson mask) */
int directory_umask; /* directory umask (permisson mask) */
@@ -103,7 +105,9 @@ typedef struct
double fax_height; /* height of fax paper in mm */
double fax_leftoffset; /* left offset of fax paper in mm */
double fax_bottomoffset; /* bottom offset of fax paper in mm */
+ int fax_fine_mode; /* use fine or normal mode */
+#ifdef XSANE_ACTIVATE_MAIL
char *mail_from; /* email address of sender */
char *mail_reply_to; /* email address for replied emails */
char *mail_smtp_server; /* ip address or domain name of smtp server */
@@ -115,12 +119,17 @@ typedef struct
char *mail_pop3_pass; /* password for pop3 server */
char *mail_project; /* mail project */
char *mail_viewer; /* mail viewer */
+ char *mail_filetype; /* mail filetype */
+#endif
char *ocr_command; /* ocrcommand */
char *ocr_inputfile_option; /* option for input file */
char *ocr_outputfile_option; /* option for output file */
+ int ocr_use_gui_pipe; /* use progress pipe */
+ char *ocr_gui_outfd_option; /* option for progress pipe filedeskriptor */
+ char *ocr_progress_keyword; /* keyword for progress value in gui pipe */
- char *doc_viewer; /* doc viewer for helpfiles */
+ char *browser; /* doc viewer for helpfiles */
double jpeg_quality; /* quality when saving image as jpeg */
double png_compression; /* compression when saving image as pnm */
@@ -130,13 +139,16 @@ typedef struct
int save_devprefs_at_exit; /* save device preferences at exit */
int overwrite_warning; /* warn if file exists */
int skip_existing_numbers; /* skip used filenames when automatically increase counter */
+ int save_pnm16_as_ascii; /* selection if pnm 16 bit is saved as ascii or binary file */
int reduce_16bit_to_8bit; /* reduce images with 16 bits/color to 8 bits/color */
int filename_counter_step; /* filename_counter += filename_counter_step; */
int filename_counter_len; /* minimum length of filename_counter */
+ int show_range_mode; /* how to show a range */
int tooltips_enabled; /* should tooltips be disabled? */
int show_histogram; /* show histogram ? */
int show_gamma; /* show gamma curve ? */
+ int show_batch_scan; /* show batch scan dialog ? */
int show_standard_options; /* show standard options ? */
int show_advanced_options; /* show advanced options ? */
int show_resolution_list; /* show resolution list instead of slider ? */
@@ -171,7 +183,7 @@ typedef struct
int auto_correct_colors; /* automatic color correction after preview scan */
int gtk_update_policy;
- int psrotate; /* rotate by 90 degree in postscript mode - landscape */
+ int paper_orientation; /* image position on printer and page orientation */
int printernr; /* number of printers */
int printerdefinitions;
Preferences_printer_t **printer;
@@ -187,4 +199,7 @@ extern Preferences preferences;
extern void preferences_save (int fd);
extern void preferences_restore (int fd);
+extern void preferences_save_media (int fd);
+extern void preferences_restore_media (int fd);
+
#endif /* preferences_h */