summaryrefslogtreecommitdiff
path: root/plugins/HistoryPlusPlus/hpp_externalgrid.pas
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-03-30 20:10:26 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-03-30 20:10:26 +0000
commit2bbb9971bf1711850504d93828f571e27147abc7 (patch)
tree58d7b09d4a5f89f3990fff0ddd98c562e37b122c /plugins/HistoryPlusPlus/hpp_externalgrid.pas
parent53bb473ba5f24175ac124098dac69df6ca3570a3 (diff)
MS_DB_EVENT_* services' calls removed from pascal sources
git-svn-id: http://svn.miranda-ng.org/main/trunk@4262 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/HistoryPlusPlus/hpp_externalgrid.pas')
-rw-r--r--plugins/HistoryPlusPlus/hpp_externalgrid.pas7
1 files changed, 3 insertions, 4 deletions
diff --git a/plugins/HistoryPlusPlus/hpp_externalgrid.pas b/plugins/HistoryPlusPlus/hpp_externalgrid.pas
index 932b968219..3b499b5769 100644
--- a/plugins/HistoryPlusPlus/hpp_externalgrid.pas
+++ b/plugins/HistoryPlusPlus/hpp_externalgrid.pas
@@ -541,14 +541,13 @@ begin
MessageTypesToDWord([mtMessage, mtUrl]) > 0) then
begin
if (not Item.IsRead) then
- CallService(MS_DB_EVENT_MARKREAD, Items[Index].hContact,
- Items[Index].hDBEvent);
+ db_event_markRead(Items[Index].hContact, Items[Index].hDBEvent);
CallService(MS_CLIST_REMOVEEVENT, Items[Index].hContact, Items[Index].hDBEvent);
end
else if (not Item.IsRead) and (MessageTypesToDWord(Item.MessageType) and
MessageTypesToDWord([mtStatus, mtNickChange, mtAvatarChange]) > 0) then
begin
- CallService(MS_DB_EVENT_MARKREAD, Items[Index].hContact, Items[Index].hDBEvent);
+ db_event_markRead(Items[Index].hContact, Items[Index].hDBEvent);
end;
end;
@@ -980,7 +979,7 @@ end;
procedure TExternalGrid.GridItemDelete(Sender: TObject; Index: Integer);
begin
if (FGridState = gsDelete) and (Items[Index].hDBEvent <> 0) and (not Items[Index].Custom) then
- CallService(MS_DB_EVENT_DELETE, Items[Index].hContact, Items[Index].hDBEvent);
+ db_event_delete(Items[Index].hContact, Items[Index].hDBEvent);
if Index <> High(Items) then
begin
Finalize(Items[Index]);