PIString fix
git-svn-id: svn://db.shs.com.ru/pip@44 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -12,6 +12,18 @@ public:
|
||||
FileManager(Daemon * d = 0);
|
||||
|
||||
PIScreenTile * tile() const;
|
||||
PIScreenTile * remoteTile() const {return panels[1];}
|
||||
|
||||
void setRemote(bool r) {panels[1]->remote = r;}
|
||||
void setRemoteDir(const PIString & d);
|
||||
void setRemoteContent(const PIVector<PIFile::FileInfo> & el);
|
||||
PIString remoteDir() const {return panels[1]->dir.absolutePath();}
|
||||
PIStringList selectedRemote() const;
|
||||
PIFile::FileInfo currentRemoteEntry() const;
|
||||
PIFile::FileInfo selectedRemoteEntry(int index) const {return panels[1]->entries[index];}
|
||||
void remoteSaveDir();
|
||||
void remoteRestoreDir();
|
||||
void readingRemote() const {panels[1]->showReading();}
|
||||
|
||||
private:
|
||||
class TileDir: public TileList {
|
||||
@@ -24,15 +36,20 @@ private:
|
||||
void resizeEvent(int w, int h);
|
||||
void lock();
|
||||
void unlock();
|
||||
void showReading();
|
||||
void setContent(const PIVector<PIFile::FileInfo> & l);
|
||||
TileSimple * label_path;
|
||||
PIVector<PIFile::FileInfo> entries;
|
||||
PIDir dir;
|
||||
PIMap<PIString, PIPair<int, int> > prev_pos;
|
||||
bool resized;
|
||||
bool resized, remote;
|
||||
void * fm, * key_func;
|
||||
};
|
||||
|
||||
EVENT_HANDLER1(void, keyEvent, PIKbdListener::KeyEvent, key);
|
||||
EVENT1(tileKey, PIKbdListener::KeyEvent, key);
|
||||
EVENT(menuRequest);
|
||||
static void tileKey_s(void * fm, PIKbdListener::KeyEvent key) {((FileManager*)fm)->tileKey(key);}
|
||||
void updateConsole();
|
||||
|
||||
bool del_commit;
|
||||
|
||||
Reference in New Issue
Block a user