diff options
| -rw-r--r-- | src/io/command_line_export.h | 59 | ||||
| -rw-r--r-- | src/io/command_line_output.h | 58 | ||||
| -rw-r--r-- | src/io/commandline_io.h | 58 | ||||
| -rw-r--r-- | src/io/file.h | 25 | ||||
| -rw-r--r-- | src/io/open_file.h | 12 |
5 files changed, 0 insertions, 212 deletions
diff --git a/src/io/command_line_export.h b/src/io/command_line_export.h deleted file mode 100644 index dad0d573c..000000000 --- a/src/io/command_line_export.h +++ /dev/null @@ -1,59 +0,0 @@ - -// Command line export... should be using normal export. - - -class InkCommandLineExport { - -public: - enum { - EXPORT_PLAIN_SVG, - EXPORT_INKSCAPE_SVG, - EXPORT_PNG, - EXPORT_PS, - EXPORT_EPS, - EXPORT_PDF, - EXPORT_LATEX, - EXPORT_EMF, - EXPORT_WMF, - EXPORT_XAML, - EXPORT_PRINT - } ExportType; - - InkCommandLineExport(ExportType export_type, - Glib::ustring file_name); - ~InkCommandLineExport() {}; - do_export(); - - double export_dpi; - bool export_area; - bool export_area_drawing; - bool export_area_page; - double export_margin; - bool export_snap; - int export_width; // In pixels - int export_hight; // In pixels - Glib::ustring export_id; - bool export_id_only; - bool export_id_hints; - Glib::ustring export_background; - double export_background_opacity; - int export_ps_level; - double export_pdf_level; - bool export_text_to_path; - bool export_ignore_filters; - -private: - ExportType export_type; - Glib::ustring file_name; -} - -/* - Local Variables: - mode:c++ - c-file-style:"stroustrup" - c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +)) - indent-tabs-mode:nil - fill-column:99 - End: -*/ -// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 : diff --git a/src/io/command_line_output.h b/src/io/command_line_output.h deleted file mode 100644 index 31ce2cd47..000000000 --- a/src/io/command_line_output.h +++ /dev/null @@ -1,58 +0,0 @@ - -// Command line export... should be using normal export. - -class InkCommandLineExport { - -public: - enum { - EXPORT_PLAIN_SVG, - EXPORT_INKSCAPE_SVG, - EXPORT_PNG, - EXPORT_PS, - EXPORT_EPS, - EXPORT_PDF, - EXPORT_LATEX, - EXPORT_EMF, - EXPORT_WMF, - EXPORT_XAML, - EXPORT_PRINT - } ExportType; - - InkCommandLineExport(ExportType export_type, - Glib::ustring file_name); - ~InkCommandLineExport() {}; - do_export(); - - double export_dpi; - bool export_area; - bool export_area_drawing; - bool export_area_page; - double export_margin; - bool export_snap; - int export_width; // In pixels - int export_hight; // In pixels - Glib::ustring export_id; - bool export_id_only; - bool export_id_hints; - Glib::ustring export_background; - double export_background_opacity; - int export_ps_level; - double export_pdf_level; - bool export_text_to_path; - bool export_ignore_filters; - -private: - ExportType export_type; - Glib::ustring file_name; -} - -/* - Local Variables: - mode:c++ - c-file-style:"stroustrup" - c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +)) - indent-tabs-mode:nil - fill-column:99 - End: -*/ -// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 : diff --git a/src/io/commandline_io.h b/src/io/commandline_io.h deleted file mode 100644 index 31ce2cd47..000000000 --- a/src/io/commandline_io.h +++ /dev/null @@ -1,58 +0,0 @@ - -// Command line export... should be using normal export. - -class InkCommandLineExport { - -public: - enum { - EXPORT_PLAIN_SVG, - EXPORT_INKSCAPE_SVG, - EXPORT_PNG, - EXPORT_PS, - EXPORT_EPS, - EXPORT_PDF, - EXPORT_LATEX, - EXPORT_EMF, - EXPORT_WMF, - EXPORT_XAML, - EXPORT_PRINT - } ExportType; - - InkCommandLineExport(ExportType export_type, - Glib::ustring file_name); - ~InkCommandLineExport() {}; - do_export(); - - double export_dpi; - bool export_area; - bool export_area_drawing; - bool export_area_page; - double export_margin; - bool export_snap; - int export_width; // In pixels - int export_hight; // In pixels - Glib::ustring export_id; - bool export_id_only; - bool export_id_hints; - Glib::ustring export_background; - double export_background_opacity; - int export_ps_level; - double export_pdf_level; - bool export_text_to_path; - bool export_ignore_filters; - -private: - ExportType export_type; - Glib::ustring file_name; -} - -/* - Local Variables: - mode:c++ - c-file-style:"stroustrup" - c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +)) - indent-tabs-mode:nil - fill-column:99 - End: -*/ -// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4 : diff --git a/src/io/file.h b/src/io/file.h deleted file mode 100644 index c0c44f6ab..000000000 --- a/src/io/file.h +++ /dev/null @@ -1,25 +0,0 @@ -/* - * File operations (independent of GUI) - * - * Copyright (C) 2018 Tavmjong Bah - * - * The contents of this file may be used under the GNU General Public License Version 2 or later. - * - */ - -#ifndef INK_FILE_IO_H -#define INK_FILE_IO_H - -class SPDocument; - -SPDocument* ink_file_new(const std::string &template = nullptr); -SPDocument* ink_file_open(const Glib::RefPtr<Gio::File>& file = Glib::RefPtr<Gio::File>()); - -// To do: -// ink_file_save() -// ink_file_export() -// ink_file_import() - - - -#endif // INK_FILE_IO_H diff --git a/src/io/open_file.h b/src/io/open_file.h deleted file mode 100644 index 5da25f88e..000000000 --- a/src/io/open_file.h +++ /dev/null @@ -1,12 +0,0 @@ -/* - * File operations (independent of GUI) - * - * Copyright (C) 2018 Tavmjong Bah - * - * The contents of this file may be used under the GNU General Public License Version 2 or later. - * - */ - -SPDocument* open_file(const Glib::RefPtr<Gio::File>& file = Glib::RefPtr<Gio::File>()); - - |
