Get rid of windirmonitor

This commit is contained in:
heckflosse
2018-12-02 20:29:11 +01:00
parent 35f37e55a7
commit 61c84b9ee7
7 changed files with 4 additions and 242 deletions

View File

@@ -19,9 +19,6 @@
#ifndef _FILECATALOG_
#define _FILECATALOG_
#ifdef WIN32
#include "windirmonitor.h"
#endif
#include "filebrowser.h"
#include "exiffiltersettings.h"
#include <giomm.h>
@@ -48,9 +45,6 @@ class FileCatalog : public Gtk::VBox,
public FilterPanelListener,
public FileBrowserListener,
public ExportPanelListener
#ifdef WIN32
, public WinDirChangeListener
#endif
{
public:
typedef sigc::slot<void, const Glib::ustring&> DirSelectionSlot;
@@ -142,11 +136,7 @@ private:
std::set<Glib::ustring> editedFiles;
guint modifierKey; // any modifiers held when rank button was pressed
#ifndef _WIN32
Glib::RefPtr<Gio::FileMonitor> dirMonitor;
#else
WinDirMonitor* wdMonitor;
#endif
IdleRegister idle_register;
@@ -288,11 +278,7 @@ public:
void showToolBar();
void hideToolBar();
#ifndef _WIN32
void on_dir_changed (const Glib::RefPtr<Gio::File>& file, const Glib::RefPtr<Gio::File>& other_file, Gio::FileMonitorEvent event_type, bool internal);
#else
void winDirChanged ();
#endif
};