OSDN Git Service

resource.h: Add IDS_PLUGIN_DESCRIPTION*
[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): path(path), params(params), title(title), desc(desc) {}
17                 String path;
18                 String params;
19                 String desc;
20                 String title;
21         };
22         bool SetCurrentProcessExplicitAppUserModelID(const std::wstring& appid);
23         bool AddToRecentDocs(const String& app_path = _T(""), const String& params = _T(""), const String& title = _T(""), const String& desc = _T(""), int icon_index = 0);
24         std::vector<Item> GetRecentDocs(size_t nMaxItems);
25 }