summaryrefslogtreecommitdiff
path: root/LiteEditor/fileview.h
diff options
context:
space:
mode:
authorJames Cowgill <james410@cowgill.org.uk>2016-02-05 21:03:18 +0000
committerJames Cowgill <james410@cowgill.org.uk>2016-02-05 21:03:18 +0000
commit74ecc16433d611fd1b4f20cf47a77544cc32ba1b (patch)
tree9e9d9c3364300eff290752f5f58c6f0e9799d79d /LiteEditor/fileview.h
parent681e0f3961b910ad69bb409b6de2baf1f4d61066 (diff)
Imported Upstream version 9.1+dfsg
Diffstat (limited to 'LiteEditor/fileview.h')
-rw-r--r--LiteEditor/fileview.h19
1 files changed, 12 insertions, 7 deletions
diff --git a/LiteEditor/fileview.h b/LiteEditor/fileview.h
index 6ff1b927..a0c928bd 100644
--- a/LiteEditor/fileview.h
+++ b/LiteEditor/fileview.h
@@ -30,10 +30,12 @@
#include "pluginmanager.h"
#include "imanager.h"
#include "map"
+#include "clTreeKeyboardInput.h"
class wxMenu;
-struct FileViewItem {
+struct FileViewItem
+{
wxString virtualDir;
wxString fullpath;
wxString displayName;
@@ -42,9 +44,10 @@ struct FileViewItem {
class FileViewTree : public wxTreeCtrl
{
DECLARE_DYNAMIC_CLASS()
-
+
std::map<void*, bool> m_itemsToSort;
wxArrayTreeItemIds m_draggedItems;
+ clTreeKeyboardInput::Ptr_t m_keyboardHelper;
public:
/**
@@ -124,13 +127,13 @@ public:
* If a file is selected, we go up until we find the first project item
*/
ProjectPtr GetSelectedProject() const;
-
- /**
- * @brief public access to the "OnFolderDropped" function
- * @param event
+
+ /**
+ * @brief public access to the "OnFolderDropped" function
+ * @param event
*/
void FolderDropped(const wxArrayString& folders);
-
+
protected:
virtual void OnPopupMenu(wxTreeEvent& event);
virtual void OnItemActivated(wxTreeEvent& event);
@@ -170,6 +173,8 @@ protected:
virtual void OnReconcileProject(wxCommandEvent& e);
virtual void OnRenameItem(wxCommandEvent& e);
virtual void OnCompileItem(wxCommandEvent& e);
+ virtual void OnOpenShellFromFilePath(wxCommandEvent& e);
+ virtual void OnOpenFileExplorerFromFilePath(wxCommandEvent& e);
virtual void OnExcludeFromBuild(wxCommandEvent& e);
virtual void OnPreprocessItem(wxCommandEvent& e);
virtual void SortTree();