OSDN Git Service

Fix the issue where the Apache Tika plugin becomes enabled again when reopening the...
[winmerge-jp/winmerge-jp.git] / Src / JumpList.h
1 /** 
2  * @file  JumpList.h
3  *
4  * @brief Declaration file for JumpList helper functions.
5  *
6  */
7 #pragma once
8
9 #include "UnicodeString.h"
10 #include <vector>
11
12 namespace JumpList
13 {
14         struct Item
15         {
16                 Item(const String& path, const String& params, const String& title, const String& desc, const String& icon_path, int icon_index): path(path), params(params), title(title), desc(desc), icon_path(icon_path), icon_index(icon_index) {}
17                 String path;
18                 String params;
19                 String desc;
20                 String title;
21                 String icon_path;
22                 int icon_index;
23         };
24         bool SetCurrentProcessExplicitAppUserModelID(const std::wstring& appid);
25         bool AddToRecentDocs(const String& app_path = _T(""), const String& params = _T(""), const String& title = _T(""), const String& desc = _T(""), const String& icon_path = _T(""), int icon_index = 0);
26         std::vector<Item> GetRecentDocs(size_t nMaxItems);
27         bool RemoveRecentDocs();
28         bool AddUserTasks(const std::vector<Item>& tasks);
29 }