From 9415b2a3f47979ce766442464cb2f30af1020a29 Mon Sep 17 00:00:00 2001 From: John Maguire Date: Mon, 14 Jun 2010 13:27:45 +0000 Subject: [PATCH] Oops, this got left out from r1139. --- src/ui/mainwindow.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/ui/mainwindow.h b/src/ui/mainwindow.h index f20e3760a..2640b1599 100644 --- a/src/ui/mainwindow.h +++ b/src/ui/mainwindow.h @@ -24,6 +24,7 @@ #include #include "config.h" +#include "core/mac_startup.h" #include "engines/engine_fwd.h" #include "library/librarymodel.h" #include "playlist/playlistitem.h" @@ -61,7 +62,7 @@ class Ui_MainWindow; class QLabel; class QSortFilterProxyModel; -class MainWindow : public QMainWindow { +class MainWindow : public QMainWindow, public PlatformInterface { Q_OBJECT public: @@ -87,7 +88,8 @@ class MainWindow : public QMainWindow { void resizeEvent(QResizeEvent* event); void closeEvent(QCloseEvent* event); - bool event(QEvent* event); + void Activate(); + bool LoadUrl(const QString& url); private slots: void FilePathChanged(const QString& path);