~valavanisalex/ubuntu/oneiric/inkscape/inkscape_0.48.1-2ubuntu4

« back to all changes in this revision

Viewing changes to src/file.h

  • Committer: Bazaar Package Importer
  • Author(s): Kees Cook, Kees Cook, Ted Gould
  • Date: 2008-02-10 14:20:16 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20080210142016-vcnb2zqyhszu0xvb
Tags: 0.46~pre1-0ubuntu1
[ Kees Cook ]
* debian/control:
  - add libgtkspell-dev build-dep to gain GtkSpell features (LP: #183547).
  - update Standards version (no changes needed).
  - add Vcs and Homepage fields.
  - switch to new python-lxml dep.
* debian/{control,rules}: switch from dpatch to quilt for more sanity.
* debian/patches/20_fix_glib_and_gxx43_ftbfs.patch:
  - merged against upstream fixes.
  - added additional fixes for newly written code.
* debian/rules: enable parallel building.

[ Ted Gould ]
* Updating POTFILES.in to make it so things build correctly.
* debian/control:
  - add ImageMagick++ and libboost-dev to build-deps

Show diffs side-by-side

added added

removed removed

Lines of Context:
68
68
 * Displays a file open dialog. Calls sp_file_open on
69
69
 * an OK.
70
70
 */
71
 
void sp_file_open_dialog (gpointer object, gpointer data);
 
71
void sp_file_open_dialog (Gtk::Window &parentWindow, gpointer object, gpointer data);
72
72
 
73
73
/**
74
74
 * Reverts file to disk-copy on "YES"
79
79
## S A V E
80
80
######################*/
81
81
 
 
82
/*
 
83
 * Added to make only the remote savings.
 
84
 */
 
85
 
 
86
bool file_save_remote(SPDocument *doc, const Glib::ustring &uri,
 
87
                 Inkscape::Extension::Extension *key, bool saveas, bool official);
 
88
 
82
89
/**
83
90
 *
84
91
 */
85
 
bool sp_file_save (gpointer object, gpointer data);
 
92
bool sp_file_save (Gtk::Window &parentWindow, gpointer object, gpointer data);
86
93
 
87
94
/**
88
95
 *  Saves the given document.  Displays a file select dialog
89
96
 *  to choose the new name.
90
97
 */
91
 
bool sp_file_save_as (gpointer object, gpointer data);
 
98
bool sp_file_save_as (Gtk::Window &parentWindow, gpointer object, gpointer data);
92
99
 
93
100
/**
94
101
 *  Saves a copy of the given document.  Displays a file select dialog
95
102
 *  to choose a name for the copy.
96
103
 */
97
 
bool sp_file_save_a_copy (gpointer object, gpointer data);
 
104
bool sp_file_save_a_copy (Gtk::Window &parentWindow, gpointer object, gpointer data);
98
105
 
99
106
 
100
107
/**
101
108
 *  Saves the given document.  Displays a file select dialog
102
109
 *  if needed.
103
110
 */
104
 
bool sp_file_save_document (SPDocument *document);
 
111
bool sp_file_save_document (Gtk::Window &parentWindow, SPDocument *document);
105
112
 
106
113
/* Do the saveas dialog with a document as the parameter */
107
 
bool sp_file_save_dialog (SPDocument *doc, bool bAsCopy = FALSE);
 
114
bool sp_file_save_dialog (Gtk::Window &parentWindow, SPDocument *doc, bool bAsCopy = FALSE);
108
115
 
109
116
 
110
117
/*######################
115
122
 * Displays a file selector dialog, to allow the
116
123
 * user to import data into the current document.
117
124
 */
118
 
void sp_file_import (GtkWidget * widget);
 
125
void sp_file_import (Gtk::Window &parentWindow);
119
126
 
120
127
/**
121
128
 * Imports a resource
135
142
bool sp_file_export_dialog (void *widget);
136
143
 
137
144
 
 
145
/*######################
 
146
## E X P O R T  T O  O C A L
 
147
######################*/
 
148
 
 
149
/**
 
150
 * Export the current document to OCAL
 
151
 */
 
152
void sp_file_export_to_ocal (Gtk::Window &parentWindow );
 
153
 
 
154
 
 
155
/**
 
156
 * Export the current document to OCAL
 
157
 */
 
158
bool sp_file_export_to_ocal_dialog (void *widget);
 
159
 
 
160
 
 
161
/*######################
 
162
## I M P O R T  F R O M  O C A L
 
163
######################*/
 
164
 
 
165
/**
 
166
 * Import a document from OCAL
 
167
 */
 
168
void sp_file_import_from_ocal (Gtk::Window &parentWindow );
 
169
 
138
170
 
139
171
/*######################
140
172
## P R I N T
147
179
/**
148
180
 *
149
181
 */
150
 
void sp_file_print (void);
151
 
 
152
 
/**
153
 
 *
154
 
 */
155
 
void sp_file_print_direct (void);
 
182
void sp_file_print (Gtk::Window& parentWindow);
156
183
 
157
184
/**
158
185
 *