summaryrefslogtreecommitdiffstats
path: root/src/inkview-window.h
diff options
context:
space:
mode:
authorPatrick Storz <eduard.braun2@gmx.de>2019-09-08 16:45:44 +0000
committerPatrick Storz <eduard.braun2@gmx.de>2019-09-08 16:45:44 +0000
commitad87f72cfdc30dc6e94c3fdb7e72ff67ce7552aa (patch)
treeb6b3c1af251dd5d1d35cd12621a160e0f349f416 /src/inkview-window.h
parentInkview: show file chooser dialog if called without arguments (diff)
downloadinkscape-ad87f72cfdc30dc6e94c3fdb7e72ff67ce7552aa.tar.gz
inkscape-ad87f72cfdc30dc6e94c3fdb7e72ff67ce7552aa.zip
Inkview: show error message if there are no valid files and exit
Diffstat (limited to 'src/inkview-window.h')
-rw-r--r--src/inkview-window.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/inkview-window.h b/src/inkview-window.h
index dc110f381..8cf6915fb 100644
--- a/src/inkview-window.h
+++ b/src/inkview-window.h
@@ -36,6 +36,8 @@ public:
InkviewWindow(const Gio::Application::type_vec_files files,
bool fullscreen, bool recursive, int timer, double scale, bool preload);
+ class NoValidFilesException : public std::exception {};
+
private:
std::vector<Glib::RefPtr<Gio::File> >
create_file_list(const std::vector<Glib::RefPtr<Gio::File > >& files);