Add static currentIP() in AccountDialog and change all
[vlc-remote] / browsemainwindow.h
index 4c46799..163adb7 100644 (file)
@@ -35,11 +35,14 @@ public:
     ~BrowseMainWindow();
 
 public slots:
+    void init();
     void browseDirectory(QString);
     void onBrowse();
     void onPlay();
     void onAddToPlaylist();
     void onListSelectionChanged();
+    void finished(QNetworkReply * reply);
+    void readReady();
 
 protected slots:
     void parseXmlDirectory();
@@ -48,6 +51,7 @@ protected slots:
 protected:
     void changeEvent(QEvent *e);
     VlcBrowseElement getElementFromText(QString text);
+    void writeFile(QString path, QByteArray text);
 
 private:
     Ui::BrowseMainWindow *ui;
@@ -56,6 +60,7 @@ private:
     QString mIp;
     QList<VlcBrowseElement>* mContents;
     VlcBrowseElement mCurrentElement;
+    QByteArray mResponse;
 };
 
 #endif // BROWSEMAINWINDOW_H