* Minor fixes in database storage
[someplayer] / src / mainwindow.h
1 #ifndef MAINWINDOW_H
2 #define MAINWINDOW_H
3
4 #include <QMainWindow>
5 #include <QMessageBox>
6 #include "playerform.h"
7 #include "libraryform.h"
8 #include "library.h"
9
10 namespace Ui {
11         class MainWindow;
12 }
13
14 using SomePlayer::DataObjects::Library;
15
16 class MainWindow : public QMainWindow
17 {
18         Q_OBJECT
19
20 public:
21         explicit MainWindow(QWidget *parent = 0);
22         ~MainWindow();
23
24 private:
25         Ui::MainWindow *ui;
26
27 public slots:
28         void openMedia();
29         void aboutQt();
30         void about();
31         void player();
32         void library();
33 private:
34         PlayerForm *_playerForm;
35         LibraryForm *_libraryForm;
36         Library *_library;
37 };
38
39 #endif // MAINWINDOW_H