projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
fc4deba
)
Add prototypes for syntax generation functions
author
John Darrington
<john@darrington.wattle.id.au>
Sun, 17 Feb 2013 07:21:48 +0000
(08:21 +0100)
committer
John Darrington
<john@darrington.wattle.id.au>
Mon, 18 Feb 2013 20:59:06 +0000
(21:59 +0100)
src/ui/gui/page-first-line.c
patch
|
blob
|
history
src/ui/gui/page-first-line.h
patch
|
blob
|
history
src/ui/gui/page-formats.c
patch
|
blob
|
history
src/ui/gui/page-formats.h
patch
|
blob
|
history
src/ui/gui/page-intro.h
patch
|
blob
|
history
src/ui/gui/page-separators.c
patch
|
blob
|
history
src/ui/gui/page-separators.h
patch
|
blob
|
history
diff --git
a/src/ui/gui/page-first-line.c
b/src/ui/gui/page-first-line.c
index 3296b50a4381334735757e8ee3c7c1a57e77ee7f..d3191e78cac89ed60f1c9680c0c16cdfd2a3a768 100644
(file)
--- a/
src/ui/gui/page-first-line.c
+++ b/
src/ui/gui/page-first-line.c
@@
-237,7
+237,7
@@
get_first_line (struct import_assistant *ia)
void
void
-first_line_append_syntax (struct import_assistant *ia, struct string *s)
+first_line_append_syntax (
const
struct import_assistant *ia, struct string *s)
{
if (ia->skip_lines > 0)
ds_put_format (s, " /FIRSTCASE=%d\n", ia->skip_lines + 1);
{
if (ia->skip_lines > 0)
ds_put_format (s, " /FIRSTCASE=%d\n", ia->skip_lines + 1);
diff --git
a/src/ui/gui/page-first-line.h
b/src/ui/gui/page-first-line.h
index 291ffd21db00e20fa8a2654865b8c30935c10244..70118b340a72a679ee64bfea3556245b44abff6d 100644
(file)
--- a/
src/ui/gui/page-first-line.h
+++ b/
src/ui/gui/page-first-line.h
@@
-20,7
+20,9
@@
struct first_line_page ;
struct import_assistant;
struct first_line_page ;
struct import_assistant;
+struct string;
struct first_line_page *first_line_page_create (struct import_assistant *ia);
struct first_line_page *first_line_page_create (struct import_assistant *ia);
+void first_line_append_syntax (const struct import_assistant *ia, struct string *s);
#endif
#endif
diff --git
a/src/ui/gui/page-formats.c
b/src/ui/gui/page-formats.c
index d3d379a4f4b641a9b7625a308b77298a15a0ff20..eb863bdd12e12f308ce05efaa960ec812206f2c4 100644
(file)
--- a/
src/ui/gui/page-formats.c
+++ b/
src/ui/gui/page-formats.c
@@
-271,7
+271,7
@@
on_variable_change (PsppireDict *dict, int dict_idx,
void
void
-formats_append_syntax (struct import_assistant *ia, struct string *s)
+formats_append_syntax (
const
struct import_assistant *ia, struct string *s)
{
int i;
int var_cnt;
{
int i;
int var_cnt;
diff --git
a/src/ui/gui/page-formats.h
b/src/ui/gui/page-formats.h
index 2e532068bf99bf87194e1b65537eefc56e11a32f..750b6cbc52399b311af96b4a532ebfbf97ef4a2d 100644
(file)
--- a/
src/ui/gui/page-formats.h
+++ b/
src/ui/gui/page-formats.h
@@
-19,8
+19,10
@@
struct formats_page;
struct import_assistant;
struct formats_page;
struct import_assistant;
+struct string;
struct formats_page *formats_page_create (struct import_assistant *ia);
struct formats_page *formats_page_create (struct import_assistant *ia);
+void formats_append_syntax (const struct import_assistant *ia, struct string *s);
#endif
#endif
diff --git
a/src/ui/gui/page-intro.h
b/src/ui/gui/page-intro.h
index d0de8bfad4c1c0f32167f6a9be7ff6a1c1679a06..87848abb4ca8934f8c7587e35da8a18da95e608a 100644
(file)
--- a/
src/ui/gui/page-intro.h
+++ b/
src/ui/gui/page-intro.h
@@
-19,8
+19,10
@@
struct intro_page;
struct import_assistant;
struct intro_page;
struct import_assistant;
+struct string;
struct intro_page *intro_page_create (struct import_assistant *ia);
struct intro_page *intro_page_create (struct import_assistant *ia);
+void intro_append_syntax (const struct intro_page *p, struct string *s);
#endif
#endif
diff --git
a/src/ui/gui/page-separators.c
b/src/ui/gui/page-separators.c
index 185fa5b9a452a9556946e3938bc75c469d8baba5..e147881730e710e6b70472806a2430c241071efa 100644
(file)
--- a/
src/ui/gui/page-separators.c
+++ b/
src/ui/gui/page-separators.c
@@
-50,6
+50,7
@@
#include "ui/gui/psppire-var-sheet.h"
#include "ui/gui/psppire-var-store.h"
#include "ui/gui/psppire-scanf.h"
#include "ui/gui/psppire-var-sheet.h"
#include "ui/gui/psppire-var-store.h"
#include "ui/gui/psppire-scanf.h"
+#include "ui/syntax-gen.h"
#include "gl/error.h"
#include "gl/intprops.h"
#include "gl/error.h"
#include "gl/intprops.h"
@@
-591,7
+592,7
@@
on_separator_toggle (GtkToggleButton *toggle UNUSED,
void
void
-separators_append_syntax (struct import_assistant *ia, struct string *s)
+separators_append_syntax (
const
struct import_assistant *ia, struct string *s)
{
int i;
ds_put_cstr (s, " /DELIMITERS=\"");
{
int i;
ds_put_cstr (s, " /DELIMITERS=\"");
diff --git
a/src/ui/gui/page-separators.h
b/src/ui/gui/page-separators.h
index 273bcaab722949e2a8cc7da6cbe36f3e9f5516bd..cbc32ee15e9886a2ab6661f214ad1c704c8a564c 100644
(file)
--- a/
src/ui/gui/page-separators.h
+++ b/
src/ui/gui/page-separators.h
@@
-20,7
+20,10
@@
struct separators_page;
struct import_assistant;
struct separators_page;
struct import_assistant;
+struct string;
struct separators_page *separators_page_create (struct import_assistant *ia);
struct separators_page *separators_page_create (struct import_assistant *ia);
+void separators_append_syntax (const struct import_assistant *ia, struct string *s);
+
#endif
#endif