4 Temporary panel plugin class header file
8 #ifndef __TMPCLASS_HPP__
9 #define __TMPCLASS_HPP__
13 #include <farplug-wide.h>
19 void RemoveEmptyItems();
20 void UpdateItems(int ShowOwners
, int ShowLinks
);
21 int IsOwnersDisplayed(LPCTSTR ColumnTypes
);
22 int IsLinksDisplayed(LPCTSTR ColumnTypes
);
23 void ProcessRemoveKey();
24 void ProcessSaveListKey();
25 void ProcessPanelSwitchMenu();
26 void SwitchToPanel(int NewPanelIndex
);
27 void FindSearchResultsPanel();
28 void SaveListFile(const TCHAR
*Path
);
29 bool IsCurrentFileCorrect(TCHAR
**pCurFileName
);
31 PluginPanelItem
*TmpPanelItem
;
42 int GetFindData(PluginPanelItem
**pPanelItem
, int *pItemsNumber
, int OpMode
);
43 void GetOpenPluginInfo(struct OpenPluginInfo
*Info
);
44 int SetDirectory(const TCHAR
*Dir
, int OpMode
);
47 PutFiles(struct PluginPanelItem
*PanelItem
, int ItemsNumber
, int Move
, const TCHAR
*SrcPath
, int OpMode
);
48 HANDLE
BeginPutFiles();
49 void CommitPutFiles(HANDLE hRestoreScreen
, int Success
);
50 int PutDirectoryContents(const TCHAR
*Path
);
51 int PutOneFile(const TCHAR
*SrcPath
, PluginPanelItem
&PanelItem
);
52 int PutOneFile(const TCHAR
*FilePath
);
54 int SetFindList(const struct PluginPanelItem
*PanelItem
, int ItemsNumber
);
55 int ProcessEvent(int Event
, void *Param
);
56 int ProcessKey(int Key
, unsigned int ControlState
);
57 static bool GetFileInfoAndValidate(const TCHAR
*FilePath
, FAR_FIND_DATA
*FindData
, int Any
);
58 void IfOptCommonPanel(void);
61 #endif /* __TMPCLASS_HPP__ */