MCPcopy Create free account
hub / github.com/TortoiseGit/TortoiseGit / CShellExt

Method CShellExt

src/TortoiseShell/ShellExt.cpp:35–52  ·  view source on GitHub ↗

CShellExt

Source from the content-addressed store, hash-verified

33
34// *********************** CShellExt *************************
35CShellExt::CShellExt(FileState state)
36 : m_State(state)
37 ,regDiffLater(L"Software\\TortoiseGit\\DiffLater", L"")
38{
39 InterlockedIncrement(&g_cRefThisDll);
40
41 {
42 AutoLocker lock(g_csGlobalCOMGuard);
43 g_shellObjects.Insert(this);
44 }
45
46 INITCOMMONCONTROLSEX used = {
47 sizeof(INITCOMMONCONTROLSEX),
48 ICC_LISTVIEW_CLASSES | ICC_WIN95_CLASSES | ICC_BAR_CLASSES | ICC_USEREX_CLASSES
49 };
50 InitCommonControlsEx(&used);
51 LoadLangDll();
52}
53
54CShellExt::~CShellExt()
55{

Callers

nothing calls this directly

Calls 2

LoadLangDllFunction · 0.85
InsertMethod · 0.45

Tested by

no test coverage detected