OSDN Git Service

34acb3bdc5d49a6bb8d87587ebbf2a7e4511fab7
[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 MENUSENDMAIL            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 MENUREFBROWSE           0x0000000000080000\r
41 #define MENUSHOWCHANGED         0x0000000000100000\r
42 #define MENUIGNORE                      0x0000000000200000\r
43 #define MENUREFLOG                      0x0000000000400000\r
44 #define MENUBLAME                       0x0000000000800000\r
45 #define MENUCREATEPATCH         0x0000000001000000\r
46 #define MENUAPPLYPATCH          0x0000000002000000\r
47 //#define MENUREVISIONGRAPH     0x0000000004000000\r
48 #define MENUSVNREBASE           0x0000000008000000\r
49 #define MENUSVNDCOMMIT          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 #define MENUTAG                         0x0000004000000000\r
60 #define MENUFORMATPATCH         0x0000008000000000\r
61 #define MENUIMPORTPATCH         0x0000010000000000\r
62 #define MENUCHERRYPICK          0x0000020000000000\r
63 #define MENUFETCH                       0x0000040000000000\r
64 #define MENUREBASE                      0x0000080000000000\r
65 #define MENUSTASHSAVE           0x0000100000000000\r
66 #define MENUSTASHAPPLY          0x0000200000000000\r
67 #define MENUSTASHLIST           0x0000400000000000\r
68 #define MENUSUBADD                      0x0000800000000000\r
69 #define MENUSUBSYNC                     0x0001000000000000\r
70 \r
71 #define MENUSETTINGS            0x2000000000000000\r
72 #define MENUHELP                        0x4000000000000000\r
73 #define MENUABOUT                       0x8000000000000000\r
74 \r
75 /**\r
76  * \ingroup TortoiseShell\r
77  * Since we need an own COM-object for every different\r
78  * Icon-Overlay implemented this enum defines which class\r
79  * is used.\r
80  */\r
81 enum FileState\r
82 {\r
83     FileStateUncontrolled,\r
84     FileStateVersioned,\r
85     FileStateModified,\r
86     FileStateConflict,\r
87         FileStateDeleted,\r
88         FileStateReadOnly,\r
89         FileStateLockedOverlay,\r
90         FileStateAddedOverlay,\r
91         FileStateIgnoredOverlay,\r
92         FileStateUnversionedOverlay,\r
93         FileStateDropHandler,\r
94         FileStateInvalid\r
95 };\r
96 \r
97 \r
98 #define ITEMIS_ONLYONE                          0x00000001\r
99 #define ITEMIS_EXTENDED                         0x00000002\r
100 #define ITEMIS_INSVN                            0x00000004\r
101 #define ITEMIS_CONFLICTED                       0x00000008\r
102 #define ITEMIS_FOLDER                           0x00000010\r
103 #define ITEMIS_FOLDERINSVN                      0x00000020\r
104 #define ITEMIS_NORMAL                           0x00000040\r
105 #define ITEMIS_IGNORED                          0x00000080\r
106 #define ITEMIS_INVERSIONEDFOLDER        0x00000100\r
107 #define ITEMIS_ADDED                            0x00000200\r
108 #define ITEMIS_DELETED                          0x00000400\r
109 #define ITEMIS_LOCKED                           0x00000800\r
110 #define ITEMIS_PATCHFILE                        0x00001000\r
111 // #define ITEMIS_SHORTCUT                      0x00002000 //unused\r
112 #define ITEMIS_NEEDSLOCK                        0x00004000\r
113 #define ITEMIS_PATCHINCLIPBOARD         0x00008000\r
114 #define ITEMIS_PATHINCLIPBOARD      0x00010000\r
115 #define ITEMIS_TWO                                      0x00020000\r
116 #define ITEMIS_SUBMODULE                        0x00040000\r
117 #define ITEMIS_GITSVN                           0x00080000\r
118 \r