1st attempt at an initial import.
[qwerkisync] / Windows / ModeWindow.h
diff --git a/Windows/ModeWindow.h b/Windows/ModeWindow.h
new file mode 100644 (file)
index 0000000..661defc
--- /dev/null
@@ -0,0 +1,46 @@
+/*
+ * Copyright (C) 2011, Jamie Thompson
+ *
+ * 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 3 of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program; If not, see
+ * <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef MODEWINDOW_H
+#define MODEWINDOW_H
+
+#include "BaseWindow.h"
+
+namespace Windows
+{
+       class ModeWindow : public BaseWindow
+       {
+               Q_OBJECT
+
+       public:
+               explicit ModeWindow(Settings& settings, QWidget *parent = 0);
+
+       protected slots:
+               void Import();
+               void Export();
+               //void Closed();
+
+       protected:
+               virtual void closeEvent(QCloseEvent *);
+
+       private:
+               void CreateContents();
+               void Advance();
+       };
+}
+#endif // MODEWINDOW_H