1
// TortoiseGit - a Windows shell extension for easy version control
3 // Copyright (C) 2010-2022 - TortoiseGit
5 // This program is free software; you can redistribute it and/or
6 // modify it under the terms of the GNU General Public License
7 // as published by the Free Software Foundation; either version 2
8 // of the License, or (at your option) any later version.
10 // This program is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 // GNU General Public License for more details.
15 // You should have received a copy of the GNU General Public License
16 // along with this program; if not, write to the Free Software Foundation,
17 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
51 ShellMenuDropMoveRename
,
53 ShellMenuDropCopyRename
,
55 ShellMenuDropExportExtended
,
57 ShellMenuConflictEditor
,
61 ShellMenuDeleteIgnoreSub
,
63 ShellMenuDeleteIgnore
,
64 ShellMenuIgnoreCaseSensitive
,
65 ShellMenuDeleteIgnoreCaseSensitive
,
70 ShellMenuRevisionGraph
,
72 ShellMenuUnIgnoreCaseSensitive
,
91 ShellMenuGitSVNRebase
,
92 ShellMenuGitSVNDCommit
,
93 ShellMenuGitSVNDFetch
,
94 ShellMenuGitSVNIgnore
, //import svn ignore
101 ShellMenuLogSubmoduleFolder
,
105 ShellMenuImportPatchDrop
,
112 ShellMenuDropNewWorktree
,
113 ShellMenuLastEntry
// used to mark the menu array end
116 // helper struct for context menu entries
124 GitCommands command
; ///< the command which gets executed for this menu entry
125 unsigned __int64 menuID
; ///< the menu ID to recognize the entry. NULL if it shouldn't be added to the context menu automatically
126 UINT iconID
; ///< the icon to show for the menu entry
127 UINT menuTextID
; ///< the text of the menu entry
128 UINT menuDescID
; ///< the description text for the menu entry
129 /// the following 8 params are for checking whether the menu entry should
130 /// be added automatically, based on states of the selected item(s).
131 /// The 'yes' states must be set, the 'no' states must not be set
132 /// the four pairs are OR'ed together, the 'yes'/'no' states are AND'ed together.