Line 0
Link Here
|
|
|
1 |
--- src/gui/controls/DBHTreeControl.cpp |
2 |
+++ src/gui/controls/DBHTreeControl.cpp |
3 |
@@ -1,5 +1,5 @@ |
4 |
/* |
5 |
- Copyright (c) 2004-2009 The FlameRobin Development Team |
6 |
+ Copyright (c) 2004-2011 The FlameRobin Development Team |
7 |
|
8 |
Permission is hereby granted, free of charge, to any person obtaining |
9 |
a copy of this software and associated documentation files (the |
10 |
@@ -261,6 +261,8 @@ |
11 |
id = ART_View; break; |
12 |
case ntViews: |
13 |
id = ART_Views; break; |
14 |
+ default: |
15 |
+ break; |
16 |
} |
17 |
return getImageIndex(id); |
18 |
} |
19 |
--- src/gui/CreateIndexDialog.cpp |
20 |
+++ src/gui/CreateIndexDialog.cpp |
21 |
@@ -1,5 +1,5 @@ |
22 |
/* |
23 |
- Copyright (c) 2004-2009 The FlameRobin Development Team |
24 |
+ Copyright (c) 2004-2011 The FlameRobin Development Team |
25 |
|
26 |
Permission is hereby granted, free of charge, to any person obtaining |
27 |
a copy of this software and associated documentation files (the |
28 |
@@ -209,6 +209,7 @@ |
29 |
class TableIndicesHandler: public URIHandler |
30 |
{ |
31 |
public: |
32 |
+ TableIndicesHandler() {}; |
33 |
bool handleURI(URI& uri); |
34 |
private: |
35 |
// singleton; registers itself on creation. |
36 |
--- src/gui/ExecuteSqlFrame.cpp |
37 |
+++ src/gui/ExecuteSqlFrame.cpp |
38 |
@@ -1,5 +1,5 @@ |
39 |
/* |
40 |
- Copyright (c) 2004-2009 The FlameRobin Development Team |
41 |
+ Copyright (c) 2004-2011 The FlameRobin Development Team |
42 |
|
43 |
Permission is hereby granted, free of charge, to any person obtaining |
44 |
a copy of this software and associated documentation files (the |
45 |
@@ -2749,6 +2749,7 @@ |
46 |
class DropColumnHandler: public URIHandler |
47 |
{ |
48 |
public: |
49 |
+ DropColumnHandler() {}; |
50 |
bool handleURI(URI& uri); |
51 |
private: |
52 |
static const DropColumnHandler handlerInstance; |
53 |
@@ -2806,6 +2807,7 @@ |
54 |
class DropColumnsHandler: public URIHandler |
55 |
{ |
56 |
public: |
57 |
+ DropColumnsHandler() {}; |
58 |
bool handleURI(URI& uri); |
59 |
private: |
60 |
static const DropColumnsHandler handlerInstance; |
61 |
@@ -2842,6 +2844,7 @@ |
62 |
class DropObjectHandler: public URIHandler |
63 |
{ |
64 |
public: |
65 |
+ DropObjectHandler() {}; |
66 |
bool handleURI(URI& uri); |
67 |
private: |
68 |
static const DropObjectHandler handlerInstance; |
69 |
@@ -2878,6 +2881,7 @@ |
70 |
class EditDDLHandler: public URIHandler |
71 |
{ |
72 |
public: |
73 |
+ EditDDLHandler() {}; |
74 |
bool handleURI(URI& uri); |
75 |
private: |
76 |
static const EditDDLHandler handlerInstance; |
77 |
@@ -2919,6 +2923,7 @@ |
78 |
class EditProcedureHandler: public URIHandler |
79 |
{ |
80 |
public: |
81 |
+ EditProcedureHandler() {}; |
82 |
bool handleURI(URI& uri); |
83 |
private: |
84 |
// singleton; registers itself on creation. |
85 |
@@ -2947,6 +2952,7 @@ |
86 |
class AlterViewHandler: public URIHandler |
87 |
{ |
88 |
public: |
89 |
+ AlterViewHandler() {}; |
90 |
bool handleURI(URI& uri); |
91 |
private: |
92 |
// singleton; registers itself on creation. |
93 |
@@ -2973,6 +2979,7 @@ |
94 |
class EditTriggerHandler: public URIHandler |
95 |
{ |
96 |
public: |
97 |
+ EditTriggerHandler() {}; |
98 |
bool handleURI(URI& uri); |
99 |
private: |
100 |
// singleton; registers itself on creation. |
101 |
@@ -2999,6 +3006,7 @@ |
102 |
class EditGeneratorValueHandler: public URIHandler |
103 |
{ |
104 |
public: |
105 |
+ EditGeneratorValueHandler() {}; |
106 |
bool handleURI(URI& uri); |
107 |
private: |
108 |
// singleton; registers itself on creation. |
109 |
@@ -3041,6 +3049,7 @@ |
110 |
class EditExceptionHandler: public URIHandler |
111 |
{ |
112 |
public: |
113 |
+ EditExceptionHandler() {}; |
114 |
bool handleURI(URI& uri); |
115 |
private: |
116 |
// singleton; registers itself on creation. |
117 |
@@ -3067,6 +3076,7 @@ |
118 |
class IndexActionHandler: public URIHandler |
119 |
{ |
120 |
public: |
121 |
+ IndexActionHandler() {}; |
122 |
bool handleURI(URI& uri); |
123 |
private: |
124 |
// singleton; registers itself on creation. |
125 |
@@ -3113,6 +3123,7 @@ |
126 |
class ActivateTriggersHandler: public URIHandler |
127 |
{ |
128 |
public: |
129 |
+ ActivateTriggersHandler() {}; |
130 |
bool handleURI(URI& uri); |
131 |
private: |
132 |
static const ActivateTriggersHandler handlerInstance; |
133 |
@@ -3160,6 +3171,7 @@ |
134 |
class ActivateTriggerHandler: public URIHandler |
135 |
{ |
136 |
public: |
137 |
+ ActivateTriggerHandler() {}; |
138 |
bool handleURI(URI& uri); |
139 |
private: |
140 |
static const ActivateTriggerHandler handlerInstance; |
141 |
--- src/gui/FieldPropertiesDialog.cpp |
142 |
+++ src/gui/FieldPropertiesDialog.cpp |
143 |
@@ -1,5 +1,5 @@ |
144 |
/* |
145 |
- Copyright (c) 2004-2009 The FlameRobin Development Team |
146 |
+ Copyright (c) 2004-2011 The FlameRobin Development Team |
147 |
|
148 |
Permission is hereby granted, free of charge, to any person obtaining |
149 |
a copy of this software and associated documentation files (the |
150 |
@@ -816,6 +816,7 @@ |
151 |
class ColumnPropertiesHandler: public URIHandler |
152 |
{ |
153 |
public: |
154 |
+ ColumnPropertiesHandler() {}; |
155 |
bool handleURI(URI& uri); |
156 |
private: |
157 |
// singleton; registers itself on creation. |
158 |
--- src/gui/MetadataItemPropertiesFrame.cpp |
159 |
+++ src/gui/MetadataItemPropertiesFrame.cpp |
160 |
@@ -1,5 +1,5 @@ |
161 |
/* |
162 |
- Copyright (c) 2004-2009 The FlameRobin Development Team |
163 |
+ Copyright (c) 2004-2011 The FlameRobin Development Team |
164 |
|
165 |
Permission is hereby granted, free of charge, to any person obtaining |
166 |
a copy of this software and associated documentation files (the |
167 |
@@ -360,6 +360,8 @@ |
168 |
case ntDatabase: |
169 |
case ntRole: |
170 |
pages.push_back(wxT("DDL")); |
171 |
+ default: |
172 |
+ break; |
173 |
}; |
174 |
wxString page = loadEntireFile(config().getHtmlTemplatesPath() |
175 |
+ wxT("header.html")); |
176 |
@@ -1290,6 +1292,7 @@ |
177 |
class PageHandler: public URIHandler |
178 |
{ |
179 |
public: |
180 |
+ PageHandler() {}; |
181 |
bool handleURI(URI& uri); |
182 |
private: |
183 |
static const PageHandler handlerInstance; // singleton; registers itself on creation. |
184 |
@@ -1327,6 +1330,7 @@ |
185 |
class PropertiesHandler: public URIHandler |
186 |
{ |
187 |
public: |
188 |
+ PropertiesHandler() {}; |
189 |
bool handleURI(URI& uri); |
190 |
private: |
191 |
static const PropertiesHandler handlerInstance; // singleton; registers itself on creation. |
192 |
--- src/gui/PrivilegesDialog.cpp |
193 |
+++ src/gui/PrivilegesDialog.cpp |
194 |
@@ -1,5 +1,5 @@ |
195 |
/* |
196 |
- Copyright (c) 2004-2009 The FlameRobin Development Team |
197 |
+ Copyright (c) 2004-2011 The FlameRobin Development Team |
198 |
|
199 |
Permission is hereby granted, free of charge, to any person obtaining |
200 |
a copy of this software and associated documentation files (the |
201 |
@@ -583,6 +583,7 @@ |
202 |
class ManagePrivilegesHandler: public URIHandler |
203 |
{ |
204 |
public: |
205 |
+ ManagePrivilegesHandler() {}; |
206 |
bool handleURI(URI& uri); |
207 |
private: |
208 |
// singleton; registers itself on creation. |
209 |
--- src/gui/ReorderFieldsDialog.cpp |
210 |
+++ src/gui/ReorderFieldsDialog.cpp |
211 |
@@ -1,5 +1,5 @@ |
212 |
/* |
213 |
- Copyright (c) 2004-2009 The FlameRobin Development Team |
214 |
+ Copyright (c) 2004-2011 The FlameRobin Development Team |
215 |
|
216 |
Permission is hereby granted, free of charge, to any person obtaining |
217 |
a copy of this software and associated documentation files (the |
218 |
@@ -215,6 +215,7 @@ |
219 |
class ReorderFieldsHandler: public URIHandler |
220 |
{ |
221 |
public: |
222 |
+ ReorderFieldsHandler() {}; |
223 |
bool handleURI(URI& uri); |
224 |
private: |
225 |
// singleton; registers itself on creation. |
226 |
--- src/gui/TriggerWizardDialog.cpp |
227 |
+++ src/gui/TriggerWizardDialog.cpp |
228 |
@@ -1,5 +1,5 @@ |
229 |
/* |
230 |
- Copyright (c) 2004-2009 The FlameRobin Development Team |
231 |
+ Copyright (c) 2004-2011 The FlameRobin Development Team |
232 |
|
233 |
Permission is hereby granted, free of charge, to any person obtaining |
234 |
a copy of this software and associated documentation files (the |
235 |
@@ -178,6 +178,7 @@ |
236 |
class CreateTriggerHandler: public URIHandler |
237 |
{ |
238 |
public: |
239 |
+ CreateTriggerHandler() {}; |
240 |
bool handleURI(URI& uri); |
241 |
private: |
242 |
static const CreateTriggerHandler handlerInstance; |
243 |
--- src/gui/UserDialog.cpp |
244 |
+++ src/gui/UserDialog.cpp |
245 |
@@ -1,5 +1,5 @@ |
246 |
/* |
247 |
- Copyright (c) 2004-2009 The FlameRobin Development Team |
248 |
+ Copyright (c) 2004-2011 The FlameRobin Development Team |
249 |
|
250 |
Permission is hereby granted, free of charge, to any person obtaining |
251 |
a copy of this software and associated documentation files (the |
252 |
@@ -222,6 +222,7 @@ |
253 |
class UserPropertiesHandler: public URIHandler |
254 |
{ |
255 |
public: |
256 |
+ UserPropertiesHandler() {}; |
257 |
bool handleURI(URI& uri); |
258 |
private: |
259 |
// singleton; registers itself on creation. |
260 |
@@ -300,6 +301,7 @@ |
261 |
class DropUserHandler: public URIHandler |
262 |
{ |
263 |
public: |
264 |
+ DropUserHandler() {}; |
265 |
bool handleURI(URI& uri); |
266 |
private: |
267 |
// singleton; registers itself on creation. |
268 |
--- src/addconstrainthandler.cpp |
269 |
+++ src/addconstrainthandler.cpp |
270 |
@@ -1,5 +1,5 @@ |
271 |
/* |
272 |
- Copyright (c) 2004-2009 The FlameRobin Development Team |
273 |
+ Copyright (c) 2004-2011 The FlameRobin Development Team |
274 |
|
275 |
Permission is hereby granted, free of charge, to any person obtaining |
276 |
a copy of this software and associated documentation files (the |
277 |
@@ -51,6 +51,8 @@ |
278 |
class AddConstraintHandler: public URIHandler |
279 |
{ |
280 |
public: |
281 |
+ AddConstraintHandler() {}; |
282 |
+ |
283 |
bool handleURI(URI& uri); |
284 |
private: |
285 |
static const AddConstraintHandler handlerInstance; // singleton; registers itself on creation. |
286 |
--- src/databasehandler.cpp |
287 |
+++ src/databasehandler.cpp |
288 |
@@ -1,5 +1,5 @@ |
289 |
/* |
290 |
- Copyright (c) 2004-2009 The FlameRobin Development Team |
291 |
+ Copyright (c) 2004-2011 The FlameRobin Development Team |
292 |
|
293 |
Permission is hereby granted, free of charge, to any person obtaining |
294 |
a copy of this software and associated documentation files (the |
295 |
@@ -46,6 +46,7 @@ |
296 |
class DatabaseInfoHandler: public URIHandler |
297 |
{ |
298 |
public: |
299 |
+ DatabaseInfoHandler() {}; |
300 |
bool handleURI(URI& uri); |
301 |
private: |
302 |
// singleton; registers itself on creation. |
303 |
--- src/images.cpp |
304 |
+++ src/images.cpp |
305 |
@@ -1,5 +1,5 @@ |
306 |
/* |
307 |
- Copyright (c) 2004-2009 The FlameRobin Development Team |
308 |
+ Copyright (c) 2004-2011 The FlameRobin Development Team |
309 |
|
310 |
Permission is hereby granted, free of charge, to any person obtaining |
311 |
a copy of this software and associated documentation files (the |
312 |
@@ -68,6 +68,8 @@ |
313 |
return wxArtProvider::GetIcon(ART_Trigger, wxART_OTHER, sz); |
314 |
case ntView: |
315 |
return wxArtProvider::GetIcon(ART_View, wxART_OTHER, sz); |
316 |
+ default: |
317 |
+ break; |
318 |
} |
319 |
return wxArtProvider::GetIcon(ART_FlameRobin, wxART_OTHER, sz); |
320 |
} |
321 |
--- src/objectdescriptionhandler.cpp |
322 |
+++ src/objectdescriptionhandler.cpp |
323 |
@@ -1,5 +1,5 @@ |
324 |
/* |
325 |
- Copyright (c) 2004-2009 The FlameRobin Development Team |
326 |
+ Copyright (c) 2004-2011 The FlameRobin Development Team |
327 |
|
328 |
Permission is hereby granted, free of charge, to any person obtaining |
329 |
a copy of this software and associated documentation files (the |
330 |
@@ -46,6 +46,7 @@ |
331 |
class ObjectDescriptionHandler: public URIHandler |
332 |
{ |
333 |
public: |
334 |
+ ObjectDescriptionHandler() {}; |
335 |
bool handleURI(URI& uri); |
336 |
private: |
337 |
// singleton; registers itself on creation. |