@@ -54,8 +54,6 @@ TNotifier = class(TInterfacedObject, INotifier, ISetActions)
54
54
// / <summary>Action that causes a user defined snippet to be
55
55
// / edited.</summary>
56
56
fEditSnippetAction: TBasicAction;
57
- // / <summary>Action that displays donate dialogue box.</summary>
58
- fDonateAction: TBasicAction;
59
57
// / <summary>Action that causes a category to be displayed.</summary>
60
58
fDisplayCategoryAction: TBasicAction;
61
59
// / <summary>Action that causes the Snippets Editor to be opened ready to
@@ -129,10 +127,6 @@ TNotifier = class(TInterfacedObject, INotifier, ISetActions)
129
127
// / </remarks>
130
128
procedure EditSnippet (const SnippetName: WideString);
131
129
132
- // / <summary>Displays Donate dialogue box.</summary>
133
- // / <remarks>Methods of INotifier.</remarks>
134
- procedure Donate ;
135
-
136
130
// / <summary>Opens Snippets Editor ready to create a new snippet.</summary>
137
131
// / <remarks>Methods of INotifier.</remarks>
138
132
procedure NewSnippet ;
@@ -201,11 +195,6 @@ TNotifier = class(TInterfacedObject, INotifier, ISetActions)
201
195
// / <remarks>Methods of ISetActions.</remarks>
202
196
procedure SetEditSnippetAction (const Action: TBasicAction);
203
197
204
- // / <summary>Sets action used to display Donate dialogue box.</summary>
205
- // / <param name="Action">TBasicAction [in] Required action.</param>
206
- // / <remarks>Methods of ISetActions.</remarks>
207
- procedure SetDonateAction (const Action: TBasicAction);
208
-
209
198
// / <summary>Sets action used to display a category.</summary>
210
199
// / <param name="Action">TBasicAction [in] Required action.</param>
211
200
// / <remarks>Methods of ISetActions.</remarks>
@@ -305,12 +294,6 @@ procedure TNotifier.DisplaySnippet(const SnippetName: WideString;
305
294
end ;
306
295
end ;
307
296
308
- procedure TNotifier.Donate ;
309
- begin
310
- if Assigned(fDonateAction) then
311
- fDonateAction.Execute;
312
- end ;
313
-
314
297
procedure TNotifier.EditSnippet (const SnippetName: WideString);
315
298
begin
316
299
if Assigned(fEditSnippetAction) then
@@ -369,11 +352,6 @@ procedure TNotifier.SetDisplaySnippetAction(
369
352
(fDisplaySnippetAction as ISetNotifier).SetNotifier(Self);
370
353
end ;
371
354
372
- procedure TNotifier.SetDonateAction (const Action: TBasicAction);
373
- begin
374
- fDonateAction := Action;
375
- end ;
376
-
377
355
procedure TNotifier.SetEditSnippetAction (const Action: TBasicAction);
378
356
begin
379
357
Assert(Action is TEditSnippetAction,
0 commit comments