diff options
| author | Marc Jeanmougin <marc@jeanmougin.fr> | 2018-12-09 19:04:42 +0000 |
|---|---|---|
| committer | Marc Jeanmougin <marc@jeanmougin.fr> | 2018-12-09 19:04:42 +0000 |
| commit | 7bbad129a0c9c9f3a38b178557d68623bef03464 (patch) | |
| tree | 964e4f6ced0914ea706197645a7ca636ca60376c /src/actions/actions-output.cpp | |
| parent | fix, test, and document more Inkscape::URI methods (diff) | |
| download | inkscape-7bbad129a0c9c9f3a38b178557d68623bef03464.tar.gz inkscape-7bbad129a0c9c9f3a38b178557d68623bef03464.zip | |
Gtk/Gio templating of main inkscape application class to allow commandline usage when graphic server is not available
Diffstat (limited to 'src/actions/actions-output.cpp')
| -rw-r--r-- | src/actions/actions-output.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/actions/actions-output.cpp b/src/actions/actions-output.cpp index 0ea7f6dc4..1d6946553 100644 --- a/src/actions/actions-output.cpp +++ b/src/actions/actions-output.cpp @@ -210,8 +210,9 @@ export_do(InkscapeApplication *app) app->file_export()->do_export(document, filename); } +template <class T> void -add_actions_output(InkscapeApplication* app) +add_actions_output(ConcreteInkscapeApplication<T>* app) { Glib::VariantType Bool( Glib::VARIANT_TYPE_BOOL); Glib::VariantType Int( Glib::VARIANT_TYPE_INT32); @@ -255,6 +256,12 @@ add_actions_output(InkscapeApplication* app) #endif } + +template void add_actions_output(ConcreteInkscapeApplication<Gio::Application>* app); +template void add_actions_output(ConcreteInkscapeApplication<Gtk::Application>* app); + + + /* Local Variables: mode:c++ |
