OSDN Git Service

Update Shell push icon
[tortoisegit/TortoiseGitJp.git] / src / TortoiseShell / Globals.h
1 // TortoiseSVN - a Windows shell extension for easy version control\r
2 \r
3 // Copyright (C) 2003-2008 - TortoiseSVN\r
4 \r
5 // This program is free software; you can redistribute it and/or\r
6 // modify it under the terms of the GNU General Public License\r
7 // as published by the Free Software Foundation; either version 2\r
8 // of the License, or (at your option) any later version.\r
9 \r
10 // This program is distributed in the hope that it will be useful,\r
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of\r
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
13 // GNU General Public License for more details.\r
14 \r
15 // You should have received a copy of the GNU General Public License\r
16 // along with this program; if not, write to the Free Software Foundation,\r
17 // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.\r
18 //\r
19 #pragma once\r
20 \r
21 #define MENUCHECKOUT            0x0000000000000001\r
22 #define MENUUPDATE                      0x0000000000000002\r
23 #define MENUCOMMIT                      0x0000000000000004\r
24 #define MENUADD                         0x0000000000000008\r
25 #define MENUREVERT                      0x0000000000000010\r
26 #define MENUCLEANUP                     0x0000000000000020\r
27 #define MENURESOLVE                     0x0000000000000040\r
28 #define MENUSWITCH                      0x0000000000000080\r
29 #define MENUIMPORT                      0x0000000000000100\r
30 #define MENUEXPORT                      0x0000000000000200\r
31 #define MENUCREATEREPOS         0x0000000000000400\r
32 #define MENUCOPY                        0x0000000000000800\r
33 #define MENUMERGE                       0x0000000000001000\r
34 #define MENUREMOVE                      0x0000000000002000\r
35 #define MENURENAME                      0x0000000000004000\r
36 #define MENUUPDATEEXT           0x0000000000008000\r
37 #define MENUDIFF                        0x0000000000010000\r
38 #define MENULOG                         0x0000000000020000\r
39 #define MENUCONFLICTEDITOR      0x0000000000040000\r
40 #define MENURELOCATE            0x0000000000080000\r
41 #define MENUSHOWCHANGED         0x0000000000100000\r
42 #define MENUIGNORE                      0x0000000000200000\r
43 #define MENUREPOBROWSE          0x0000000000400000\r
44 #define MENUBLAME                       0x0000000000800000\r
45 #define MENUCREATEPATCH         0x0000000001000000\r
46 #define MENUAPPLYPATCH          0x0000000002000000\r
47 #define MENUREVISIONGRAPH       0x0000000004000000\r
48 #define MENULOCK                        0x0000000008000000\r
49 #define MENUUNLOCK                      0x0000000010000000\r
50 #define MENUPROPERTIES          0x0000000020000000\r
51 #define MENUURLDIFF                     0x0000000040000000\r
52 #define MENUDELUNVERSIONED      0x0000000080000000\r
53 #define MENUMERGEALL            0x0000000100000000\r
54 #define MENUPREVDIFF            0x0000000200000000\r
55 #define MENUCLIPPASTE           0x0000000400000000\r
56 #define MENUPULL                        0x0000000800000000\r
57 #define MENUPUSH                        0x0000001000000000\r
58 #define MENUCLONE           0x0000002000000000\r
59 \r
60 #define MENUSETTINGS            0x2000000000000000\r
61 #define MENUHELP                        0x4000000000000000\r
62 #define MENUABOUT                       0x8000000000000000\r
63 \r
64 /**\r
65  * \ingroup TortoiseShell\r
66  * Since we need an own COM-object for every different\r
67  * Icon-Overlay implemented this enum defines which class\r
68  * is used.\r
69  */\r
70 enum FileState\r
71 {\r
72     FileStateUncontrolled,\r
73     FileStateVersioned,\r
74     FileStateModified,\r
75     FileStateConflict,\r
76         FileStateDeleted,\r
77         FileStateReadOnly,\r
78         FileStateLockedOverlay,\r
79         FileStateAddedOverlay,\r
80         FileStateIgnoredOverlay,\r
81         FileStateUnversionedOverlay,\r
82         FileStateDropHandler,\r
83         FileStateInvalid\r
84 };\r
85 \r
86 \r
87 #define ITEMIS_ONLYONE                          0x00000001\r
88 #define ITEMIS_EXTENDED                         0x00000002\r
89 #define ITEMIS_INSVN                            0x00000004\r
90 #define ITEMIS_CONFLICTED                       0x00000008\r
91 #define ITEMIS_FOLDER                           0x00000010\r
92 #define ITEMIS_FOLDERINSVN                      0x00000020\r
93 #define ITEMIS_NORMAL                           0x00000040\r
94 #define ITEMIS_IGNORED                          0x00000080\r
95 #define ITEMIS_INVERSIONEDFOLDER        0x00000100\r
96 #define ITEMIS_ADDED                            0x00000200\r
97 #define ITEMIS_DELETED                          0x00000400\r
98 #define ITEMIS_LOCKED                           0x00000800\r
99 #define ITEMIS_PATCHFILE                        0x00001000\r
100 // #define ITEMIS_SHORTCUT                      0x00002000 //unused\r
101 #define ITEMIS_NEEDSLOCK                        0x00004000\r
102 #define ITEMIS_PATCHINCLIPBOARD         0x00008000\r
103 #define ITEMIS_PATHINCLIPBOARD      0x00010000\r
104 #define ITEMIS_TWO                                      0x00020000\r
105 \r