forked from yysun/Git-Source-Control-Provider
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CommandId.cs
53 lines (43 loc) · 2.24 KB
/
CommandId.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
using System;
namespace GitScc
{
/// <summary>
/// This class is used to expose the list of the IDs of the commands implemented
/// by the client package. This list of IDs must match the set of IDs defined inside the
/// VSCT file.
/// </summary>
static class CommandId
{
// Define the list a set of public static members.
public const int icmdSccCommandRefresh = 0x101;
public const int icmdSccCommandGitBash = 0x102;
public const int icmdSccCommandGitExtension = 0x103;
public const int icmdSccCommandCompare = 0x104;
public const int icmdSccCommandUndo = 0x105;
public const int icmdSccCommandInit = 0x106;
public const int icmdSccCommandPendingChanges = 0x107;
public const int icmdSccCommandHistory = 0x108;
public const int icmdSccCommandGitTortoise = 0x109;
public const int icmdSccCommandEditIgnore = 0x110;
public const int icmdPendingChangesCommit = 0x111;
public const int icmdPendingChangesAmend = 0x112;
public const int icmdPendingChangesCommitToBranch = 0x113;
public const int icmdPendingChangesRefresh = 0x114;
public const int icmdHistoryViewRefresh = 0x115;
// Define the list of menus (these include toolbars)
public const int imnuHistoryToolWindowToolbarMenu = 0x200;
public const int imnuPendingChangesToolWindowToolbarMenu = 0x202;
public const int imnuGitSourceControlMenu = 0x205;
public const int imnuPendingChangesToolWindowGitExt = 0x951;
public const int imnuPendingChangesToolWindowGitTor = 0x961;
// Define the list of icons (use decimal numbers here, to match the resource IDs)
public const int iiconProductIcon = 400;
// Define the list of bitmaps (use decimal numbers here, to match the resource IDs)
public const int ibmpToolbarMenusImages = 500;
public const int ibmpToolWindowsImages = 501;
// Glyph indexes in the bitmap used for toolwindows (ibmpToolWindowsImages)
public const int iconSccProviderToolWindow = 0;
public const int icmdGitExtCommand1 = 0x811;
public const int icmdGitTorCommand1 = 0x911;
}
}