mirror of
https://github.com/winscp/winscp.git
synced 2026-10-24 02:28:55 +03:00
(previous steps added in aee26917)
Source commit: b93e0f99f5dfce22f9bb9e1451ba11040ad05355
34 lines
1.2 KiB
C++
34 lines
1.2 KiB
C++
//---------------------------------------------------------------------------
|
|
#ifndef DirViewH
|
|
#define DirViewH
|
|
//---------------------------------------------------------------------------
|
|
#include "DirViewInt.hpp"
|
|
#include <set>
|
|
#include <queue>
|
|
#include <map>
|
|
//---------------------------------------------------------------------------
|
|
class TDirView : public TDirViewInt
|
|
{
|
|
public:
|
|
__fastcall TDirView(TComponent * AOwner);
|
|
|
|
protected:
|
|
virtual void __fastcall IconUpdateClear();
|
|
virtual void __fastcall IconUpdateEnqueue(TListItem * ListItem);
|
|
virtual int __fastcall IconUpdatePeek();
|
|
virtual bool __fastcall IconUpdateDeprioritize(Dirviewint::TFileRec * ItemData, int Index);
|
|
virtual void __fastcall IconUpdateDequeue(int Index);
|
|
virtual void __fastcall PathChanged();
|
|
virtual bool __fastcall TryGetLastPath(UnicodeString Drive, UnicodeString & Path);
|
|
virtual void __fastcall CreateWnd();
|
|
|
|
private:
|
|
std::set<int> FIconUpdateSet;
|
|
typedef std::queue<TIconUpdateSchedule> TIconUpdateQueue;
|
|
TIconUpdateQueue FIconUpdateQueue;
|
|
TIconUpdateQueue FIconUpdateQueueDeferred;
|
|
std::map<UnicodeString, UnicodeString> FLastPaths;
|
|
};
|
|
//---------------------------------------------------------------------------
|
|
#endif
|