Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: src/plugin/PluginUtil.h

Issue 6032593782833152: Issue 1173 - proposal for entry point (Closed)
Patch Set: Created Jan. 13, 2015, 11:40 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/plugin/PluginClass.cpp ('k') | src/plugin/PluginUtil.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #pragma once 1 #pragma once
2 #include <string> 2 #include <string>
3 #include <functional>
3 4
4 std::wstring HtmlFolderPath(); 5 std::wstring HtmlFolderPath();
5 std::wstring UserSettingsFileUrl(); 6 std::wstring UserSettingsFileUrl();
6 std::wstring FirstRunPageFileUrl(); 7 std::wstring FirstRunPageFileUrl();
7 std::wstring FileUrl(const std::wstring& url); 8 std::wstring FileUrl(const std::wstring& url);
9
10 // Wraps EntryPoint and eats C++ exceptions.
11 // Returns `false` if caught exception.
12 bool EntryPoint(const std::function<void()>& functionBody);
13 HRESULT EntryPointWithHResult(const std::function<HRESULT()>& functionBody);
OLDNEW
« no previous file with comments | « src/plugin/PluginClass.cpp ('k') | src/plugin/PluginUtil.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld