~ubuntu-branches/ubuntu/vivid/rawstudio/vivid

« back to all changes in this revision

Viewing changes to librawstudio/conf_interface.h

  • Committer: Bazaar Package Importer
  • Author(s): Bernd Zeimetz
  • Date: 2011-07-28 17:36:32 UTC
  • mfrom: (2.1.11 upstream)
  • Revision ID: james.westby@ubuntu.com-20110728173632-5czluz9ye3c83zc5
Tags: 2.0-1
* [3750b2cf] Merge commit 'upstream/2.0'
* [63637468] Removing Patch, not necessary anymore.
* [2fb580dc] Add new build-dependencies.
* [c57d953b] Run dh_autoreconf due to patches in configure.in
* [13febe39] Add patch to remove the libssl requirement.
* [5ae773fe] Replace libjpeg62-dev by libjpeg8-dev :)
* [1969d755] Don't build static libraries.
* [7cfe0a2e] Add a patch to fix the plugin directory path.
  As plugins are shared libraries, they need to go into /usr/lib,
  not into /usr/share.
  Thanks to Andrew McMillan
* [c1d0d9dd] Don't install .la files for all plugins and libraries.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * * Copyright (C) 2006-2011 Anders Brander <anders@brander.dk>, 
 
3
 * * Anders Kvist <akv@lnxbx.dk> and Klaus Post <klauspost@gmail.com>
 
4
 *
 
5
 * This program is free software; you can redistribute it and/or
 
6
 * modify it under the terms of the GNU General Public License
 
7
 * as published by the Free Software Foundation; either version 2
 
8
 * of the License, or (at your option) any later version.
 
9
 *
 
10
 * This program is distributed in the hope that it will be useful,
 
11
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
13
 * GNU General Public License for more details.
 
14
 *
 
15
 * You should have received a copy of the GNU General Public License
 
16
 * along with this program; if not, write to the Free Software
 
17
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
18
 */
 
19
 
 
20
#define CONF_LWD "last_working_directory"
 
21
#define CONF_PREBGCOLOR "preview_background_color"
 
22
#define CONF_HISTHEIGHT "histogram_height"
 
23
#define CONF_PASTE_MASK "paste_mask"
 
24
#define CONF_DEFAULT_EXPORT_TEMPLATE "default_export_template"
 
25
#define CONF_CACHEDIR_IS_LOCAL "cache_in_home"
 
26
#define CONF_LOAD_GDK "open_8bit_images"
 
27
#define CONF_LOAD_RECURSIVE "load_recursive"
 
28
#define CONF_PRELOAD "preload_photos"
 
29
#define CONF_SAVE_FILETYPE "save_filetype"
 
30
#define CONF_BATCH_DIRECTORY "batch_directory"
 
31
#define CONF_BATCH_FILENAME "batch_filename"
 
32
#define CONF_BATCH_FILETYPE "batch_filetype"
 
33
#define CONF_BATCH_WIDTH "batch_width"
 
34
#define CONF_BATCH_HEIGHT "batch_height"
 
35
#define CONF_BATCH_JPEG_QUALITY "batch_jpeg_quality"
 
36
#define CONF_BATCH_TIFF_UNCOMPRESSED "batch_tiff_uncompressed"
 
37
#define CONF_BATCH_SIZE_LOCK "batch_size_lock"
 
38
#define CONF_BATCH_SIZE_WIDTH "batch_size_width"
 
39
#define CONF_BATCH_SIZE_HEIGHT "batch_size_height"
 
40
#define CONF_BATCH_SIZE_SCALE "batch_size_scale"
 
41
#define CONF_ROI_GRID "roi_grid"
 
42
#define CONF_CROP_ASPECT "crop_aspect"
 
43
#define CONF_SHOW_FILENAMES "show_filenames_in_iconview"
 
44
#define CONF_USE_SYSTEM_THEME "use_system_theme"
 
45
#define CONF_FULLSCREEN "fullscreen"
 
46
#define CONF_SHOW_TOOLBOX_FULLSCREEN "show_toolbox_fullscreen"
 
47
#define CONF_SHOW_TOOLBOX "show_toolbox"
 
48
#define CONF_SHOW_ICONBOX_FULLSCREEN "show_iconbox_fullscreen"
 
49
#define CONF_SHOW_ICONBOX "show_iconbox"
 
50
#define CONF_SHOW_TOOLBOX_EXPOSURE "show_toolbox_exposure"
 
51
#define CONF_SHOW_TOOLBOX_SATURATION "show_toolbox_saturation"
 
52
#define CONF_SHOW_TOOLBOX_HUE "show_toolbox_hue"
 
53
#define CONF_SHOW_TOOLBOX_CONTRAST "show_toolbox_contrast"
 
54
#define CONF_SHOW_TOOLBOX_WARMTH "show_toolbox_warmth"
 
55
#define CONF_SHOW_TOOLBOX_SHARPEN "show_toolbox_sharpen"
 
56
#define CONF_SHOW_TOOLBOX_DENOISE_LUMA "show_toolbox_denoise_luma"
 
57
#define CONF_SHOW_TOOLBOX_DENOISE_CHROMA "show_toolbox_denoise_chroma"
 
58
#define CONF_SHOW_TOOLBOX_CURVE "show_toolbox_curve"
 
59
#define CONF_SHOW_TOOLBOX_TRANSFORM "show_toolbox_transform"
 
60
#define CONF_SHOW_TOOLBOX_HIST "show_toolbox_hist"
 
61
#define CONF_TOOLBOX_WIDTH "toolbox_width"
 
62
#define CONF_SPLIT_CONTINUOUS "split_continuous"
 
63
#define CONF_LAST_PRIORITY_PAGE "last_priority_page"
 
64
#define CONF_STORE_SORT_METHOD "store_sort_method"
 
65
#define CONF_LIBRARY_AUTOTAG "library_autotag"
 
66
#define CONF_LIBRARY_TAG_SEARCH "library_tag_search"
 
67
#define CONF_EXPORT_AS_FOLDER "export_as_folder"
 
68
#define CONF_EXPORT_AS_SIZE_PERCENT "export_as_size_percent"
 
69
#define CONF_MAIN_WINDOW_WIDTH "main_window_width"
 
70
#define CONF_MAIN_WINDOW_HEIGHT "main_window_height"
 
71
#define CONF_MAIN_WINDOW_POS_X "main_window_pos_x"
 
72
#define CONF_MAIN_WINDOW_POS_Y "main_window_pos_y"
 
73
#define CONF_MAIN_WINDOW_MAXIMIZED "main_window_maximized"
 
74
#define CONF_PICASA_CLIENT_AUTH_TOKEN "picasa_client_auth_token"
 
75
#define CONF_PICASA_CLIENT_USERNAME "picasa_client_username"
 
76
#define CONF_PICASA_CLIENT_ALBUM_ID "picasa_client_album_id"
 
77
 
 
78
#define DEFAULT_CONF_EXPORT_FILENAME "%f_%2c"
 
79
#define DEFAULT_CONF_BATCH_DIRECTORY "batch_exports/"
 
80
#define DEFAULT_CONF_BATCH_FILENAME "%f_%2c"
 
81
#define DEFAULT_CONF_BATCH_FILETYPE "jpeg"
 
82
#define DEFAULT_CONF_BATCH_JPEG_QUALITY "100"
 
83
#define DEFAULT_CONF_FULLSCREEN FALSE
 
84
#define DEFAULT_CONF_SHOW_TOOLBOX_FULLSCREEN TRUE
 
85
#define DEFAULT_CONF_SHOW_TOOLBOX TRUE
 
86
#define DEFAULT_CONF_SHOW_ICONBOX_FULLSCREEN FALSE
 
87
#define DEFAULT_CONF_SHOW_ICONBOX TRUE
 
88
#define DEFAULT_CONF_SHOW_TOOLBOX_EXPOSURE TRUE
 
89
#define DEFAULT_CONF_SHOW_TOOLBOX_SATURATION TRUE
 
90
#define DEFAULT_CONF_SHOW_TOOLBOX_HUE TRUE
 
91
#define DEFAULT_CONF_SHOW_TOOLBOX_CONTRAST TRUE
 
92
#define DEFAULT_CONF_SHOW_TOOLBOX_WARMTH TRUE
 
93
#define DEFAULT_CONF_SHOW_TOOLBOX_SHARPEN TRUE
 
94
#define DEFAULT_CONF_SHOW_TOOLBOX_DENOISE_LUMA TRUE
 
95
#define DEFAULT_CONF_SHOW_TOOLBOX_DENOISE_CHROMA TRUE
 
96
#define DEFAULT_CONF_SHOW_TOOLBOX_CURVE TRUE
 
97
#define DEFAULT_CONF_SHOW_TOOLBOX_TRANSFORM TRUE
 
98
#define DEFAULT_CONF_SHOW_TOOLBOX_HIST TRUE
 
99
#define DEFAULT_CONF_LOAD_RECURSIVE FALSE
 
100
#define DEFAULT_CONF_USE_SYSTEM_THEME FALSE
 
101
#define DEFAULT_CONF_SHOW_FILENAMES FALSE
 
102
#define DEFAULT_CONF_LIBRARY_AUTOTAG FALSE
 
103
#define DEFAULT_CONF_MAIN_WINDOW_WIDTH 800
 
104
#define DEFAULT_CONF_MAIN_WINDOW_HEIGHT 600
 
105
#define DEFAULT_CONF_MAIN_WINDOW_POS_X 50
 
106
#define DEFAULT_CONF_MAIN_WINDOW_POS_Y 50
 
107
#define DEFAULT_CONF_MAIN_WINDOW_MAXIMIZED FALSE
 
108
 
 
109
/* get the last working directory from gconf */
 
110
void rs_set_last_working_directory(const char *lwd);
 
111
 
 
112
/* save the current working directory to gconf */
 
113
gchar *rs_get_last_working_directory(void);
 
114
 
 
115
gboolean rs_conf_get_boolean(const gchar *name, gboolean *boolean_value);
 
116
gboolean rs_conf_get_boolean_with_default(const gchar *name, gboolean *boolean_value, gboolean default_value);
 
117
gboolean rs_conf_set_boolean(const gchar *name, gboolean bool_value);
 
118
gchar *rs_conf_get_string(const gchar *path);
 
119
gboolean rs_conf_set_string(const gchar *path, const gchar *string);
 
120
gboolean rs_conf_get_integer(const gchar *name, gint *integer_value);
 
121
gboolean rs_conf_set_integer(const gchar *name, const gint integer_value);
 
122
gboolean rs_conf_get_color(const gchar *name, GdkColor *color);
 
123
gboolean rs_conf_set_color(const gchar *name, GdkColor *color);
 
124
gboolean rs_conf_get_double(const gchar *name, gdouble *float_value);
 
125
gboolean rs_conf_set_double(const gchar *name, const gdouble float_value);
 
126
GSList *rs_conf_get_list_string(const gchar *name);
 
127
gboolean rs_conf_set_list_string(const gchar *name, GSList *list);
 
128
gboolean rs_conf_add_string_to_list_string(const gchar *name, gchar *value);
 
129
gchar *rs_conf_get_nth_string_from_list_string(const gchar *name, gint num);
 
130
gboolean rs_conf_unset(const gchar *name);