mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-15 20:52:40 +00:00
do not show preview window on every SPACE key; code refactoring
This commit is contained in:
@@ -5,24 +5,23 @@
|
||||
class Shell32
|
||||
{
|
||||
public:
|
||||
enum FocusedWindowType
|
||||
{
|
||||
INVALID = 0,
|
||||
DESKTOP = 1,
|
||||
EXPLORER = 2,
|
||||
};
|
||||
static FocusedWindowType GetFocusedWindowType();
|
||||
static void SaveCurrentSelection();
|
||||
static UINT GetCurrentSelectionCount();
|
||||
static void GetCurrentSelectionBuffer(PWCHAR buffer);
|
||||
|
||||
private:
|
||||
enum FocusedWindowType
|
||||
{
|
||||
INVALID,
|
||||
DESKTOP,
|
||||
EXPLORER,
|
||||
};
|
||||
|
||||
static std::vector<std::wstring> vector_items;
|
||||
|
||||
static void SaveSelectedFromDesktop();
|
||||
static void SaveSelectedFromExplorer();
|
||||
|
||||
static FocusedWindowType GetFocusedWindowType();
|
||||
static CComQIPtr<IWebBrowser2> AttachDesktopShellWindow();
|
||||
static void vectorFromDataObject(CComPtr<IDataObject> dao);
|
||||
};
|
||||
|
Reference in New Issue
Block a user