diff src/include/window.h @ 7:07a9095eaeed

Update Refactored some code, moved some around
author Paper <mrpapersonic@gmail.com>
date Thu, 24 Aug 2023 23:11:38 -0400
parents 1d82f6e04d7d
children
line wrap: on
line diff
--- a/src/include/window.h	Wed Aug 16 00:49:17 2023 -0400
+++ b/src/include/window.h	Thu Aug 24 23:11:38 2023 -0400
@@ -1,30 +1,9 @@
 #ifndef __window_h
-# define __window_h
-/* FIXME: include these in specific .cpp files */
-# include <QApplication>
-# include <QMainWindow>
-# include <QToolBar>
-# include <QMenuBar>
-# include <QWidget>
-# include <QTreeView>
-# include <QMessageBox>
-# include <QDesktopServices>
-# include <QUrl>
-# include <QInputDialog>
-# include <QDate>
-# include <QHeaderView>
-# include <QShortcut>
-# include <QFile>
-# include <QTextStream>
-# include <QCloseEvent>
-# include <QPlainTextEdit>
-# include <QLabel>
-# include <QHBoxLayout>
-# include <QTextStream>
-# include <QSortFilterProxyModel>
-# include "config.h"
-//# include "statistics.h"
-//# include "now_playing.h"
+#define __window_h
+#include <QMainWindow>
+#include <QWidget>
+#include <QCloseEvent>
+#include "config.h"
 
 class MainWindow : public QMainWindow {
 	public:
@@ -36,12 +15,6 @@
 
 	private:
 		QWidget* main_widget;
-		QWidget* anime_list_page;
 };
 
-struct Session {
-	Config config;
-};
-
-extern Session session;
 #endif // __window_h