summaryrefslogtreecommitdiff
path: root/shared/dir_name.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:11:56 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:11:56 +0200
commit98ecf620f7de377dc8ae9ad7fbd1e3b24477e138 (patch)
treefaadc6d8822c20cd3bc6f50b2a98e6c580585949 /shared/dir_name.h
parent3.16 (diff)
downloadFreeFileSync-98ecf620f7de377dc8ae9ad7fbd1e3b24477e138.tar.gz
FreeFileSync-98ecf620f7de377dc8ae9ad7fbd1e3b24477e138.tar.bz2
FreeFileSync-98ecf620f7de377dc8ae9ad7fbd1e3b24477e138.zip
3.17
Diffstat (limited to 'shared/dir_name.h')
-rw-r--r--shared/dir_name.h16
1 files changed, 7 insertions, 9 deletions
diff --git a/shared/dir_name.h b/shared/dir_name.h
index 387f5668..4bf07231 100644
--- a/shared/dir_name.h
+++ b/shared/dir_name.h
@@ -7,19 +7,17 @@
#ifndef DRAGANDDROP_H_INCLUDED
#define DRAGANDDROP_H_INCLUDED
-#include <wx/event.h>
#include <vector>
+#include <wx/event.h>
#include <wx/sizer.h>
#include <wx/filepicker.h>
#include <wx/combobox.h>
-#include "zstring.h"
+#include "file_drop.h"
-struct FFSFileDropEvent;
-class wxCommandEvent;
class wxFileDirPickerEvent;
-namespace ffs3
+namespace zen
{
//handle drag and drop, tooltip, label and manual input, coordinating a wxWindow, wxDirPickerCtrl, and wxComboBox/wxTextCtrl
@@ -34,8 +32,8 @@ public:
virtual ~DirectoryNameMainDlg() {}
- Zstring getName() const;
- void setName(const Zstring& dirname);
+ wxString getName() const;
+ void setName(const wxString& dirname);
virtual bool AcceptDrop(const std::vector<wxString>& droppedFiles) = 0; //return true if drop should be processed
@@ -60,8 +58,8 @@ public:
wxTextCtrl& dirName,
wxStaticBoxSizer* staticBox = NULL); //optional
- Zstring getName() const;
- void setName(const Zstring& dirname);
+ wxString getName() const;
+ void setName(const wxString& dirname);
private:
void OnFilesDropped(FFSFileDropEvent& event);
bgstack15