git-svn-id: svn://db.shs.com.ru/pip@231 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -15,13 +15,15 @@ public:
|
||||
PIScreenTile * localTile() const {return panels[0];}
|
||||
PIScreenTile * remoteTile() const {return panels[1];}
|
||||
|
||||
enum Action {MkDir, Remove, Copy, Move};
|
||||
enum Action {MkDir, Remove, Copy, Move, LocalCopy};
|
||||
|
||||
void setRemote(bool r) {panels[1]->remote = r; panels[0]->remote_mode = panels[1]->remote_mode = true;}
|
||||
void setLocal();
|
||||
void setRemote();
|
||||
void setRemoteDir(const PIString & d);
|
||||
void setRemoteContent(const PIVector<PIFile::FileInfo> & el);
|
||||
PIString remoteDir() const {return panels[1]->dir.absolutePath();}
|
||||
PIString localDir() const {return panels[0]->dir.absolutePath();}
|
||||
int selectedPanel() const;
|
||||
PIStringList selectedRemote() const;
|
||||
PIFile::FileInfo currentRemoteEntry() const;
|
||||
PIFile::FileInfo selectedRemoteEntry(int index) const {return panels[1]->entries[index];}
|
||||
@@ -29,6 +31,7 @@ public:
|
||||
void remoteRestoreDir();
|
||||
void readingRemote() const {panels[1]->showReading();}
|
||||
void updateLocalDir() {panels[0]->updateDir();}
|
||||
void updateRemoteDir() {panels[1]->updateDir();}
|
||||
void clearSelectionLocal() {panels[0]->selected.clear();}
|
||||
void clearSelectionRemote() {panels[1]->selected.clear();}
|
||||
|
||||
@@ -55,7 +58,7 @@ private:
|
||||
PIDir dir;
|
||||
PIMap<PIString, PIPair<int, int> > prev_pos;
|
||||
mutable PIMutex e_mutex;
|
||||
bool resized, remote, remote_mode;
|
||||
bool resized, is_right, remote_mode;
|
||||
void * fm, * key_func;
|
||||
EVENT3(actionRequest, bool, remote_tile, FileManager::Action, type, PIVariant, data)
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user