CShellExt
| 33 | |
| 34 | // *********************** CShellExt ************************* |
| 35 | CShellExt::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 | |
| 54 | CShellExt::~CShellExt() |
| 55 | { |
nothing calls this directly
no test coverage detected