diff options
Diffstat (limited to 'base/file_util.h')
-rw-r--r-- | base/file_util.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/base/file_util.h b/base/file_util.h index 782a6a2..c86e6e4 100644 --- a/base/file_util.h +++ b/base/file_util.h @@ -237,6 +237,14 @@ bool UpdateShortcutLink(const wchar_t *source, const wchar_t *destination, const wchar_t *description, const wchar_t *icon, int icon_index); +// Pins a shortcut to the Windows 7 taskbar. The shortcut file must already +// exist and be a shortcut that points to an executable. +bool TaskbarPinShortcutLink(const wchar_t* shortcut); + +// Unpins a shortcut from the Windows 7 taskbar. The shortcut must exist and +// already be pinned to the taskbar. +bool TaskbarUnpinShortcutLink(const wchar_t* shortcut); + // Return true if the given directory is empty bool IsDirectoryEmpty(const std::wstring& dir_path); |