summaryrefslogtreecommitdiffstats
path: root/ksquirrel/sq_hloptions.h
diff options
context:
space:
mode:
Diffstat (limited to 'ksquirrel/sq_hloptions.h')
-rw-r--r--ksquirrel/sq_hloptions.h47
1 files changed, 47 insertions, 0 deletions
diff --git a/ksquirrel/sq_hloptions.h b/ksquirrel/sq_hloptions.h
new file mode 100644
index 0000000..8b4308c
--- /dev/null
+++ b/ksquirrel/sq_hloptions.h
@@ -0,0 +1,47 @@
+/***************************************************************************
+ sq_hloptions.h - description
+ -------------------
+ begin : ??? ??? 30 2004
+ copyright : (C) 2004 by Baryshev Dmitry
+ email : ksquirrel.iv@gmail.com
+ ***************************************************************************/
+
+/***************************************************************************
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ * *
+ ***************************************************************************/
+
+#ifndef SQ_HLOPTIONS_H
+#define SQ_HLOPTIONS_H
+
+#include <kurl.h>
+
+/*
+ * SQ_HLOptions stores command line options.
+ */
+
+struct SQ_HLOptions
+{
+ SQ_HLOptions();
+ ~SQ_HLOptions();
+
+ static SQ_HLOptions* instance() { return m_instance; }
+
+ QString param;
+ KURL file, dir;
+
+ /*
+ * Just show found libraries and exit ?
+ */
+ bool showLibsAndExit;
+
+ bool have_directorybasket, have_categories, have_imagebasket, have_mountview;
+
+ static SQ_HLOptions *m_instance;
+};
+
+#endif