diff options
author | George Hazan <ghazan@miranda.im> | 2019-02-11 18:56:03 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-02-11 18:56:03 +0300 |
commit | 985cddceaca1d74cf90b218b05dbeb71e5916e04 (patch) | |
tree | a6e3e7479f5a2d33bdc38a2919e4f5b9034e12f8 /plugins/Actman/iac_contact.pas | |
parent | 1b24f4ec94f90b7d4613387f3afb69202c9158d5 (diff) |
old xml api removed from pascal plugins
Diffstat (limited to 'plugins/Actman/iac_contact.pas')
-rw-r--r-- | plugins/Actman/iac_contact.pas | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/plugins/Actman/iac_contact.pas b/plugins/Actman/iac_contact.pas index ffcfd47bd5..bf19f02020 100644 --- a/plugins/Actman/iac_contact.pas +++ b/plugins/Actman/iac_contact.pas @@ -27,7 +27,7 @@ type contact:TMCONTACT;
public
constructor Create(uid:dword);
-// function Clone:tBaseAction; override;
+
function DoAction(var WorkData:tWorkData):LRESULT; override;
procedure Save(node:pointer;fmt:integer); override;
procedure Load(node:pointer;fmt:integer); override;
@@ -41,15 +41,6 @@ begin contact:=0;
end;
-{
-function tContactAction.Clone:tBaseAction;
-begin
- result:=tContactAction.Create(0);
- Duplicate(result);
-
- tContactAction(result).contact:=contact;
-end;
-}
//----- Object realization -----
@@ -82,14 +73,6 @@ begin case fmt of
0: if (flags and ACF_GETACTIVE)=0 then
contact:=LoadContact(DBBranch,node);
-
- 1: begin
- contact:=ImportContact(HXML(node));
- if StrToInt(xmlGetAttrValue(HXML(node),ioKeepOnly))=1 then
- flags:=flags or ACF_KEEPONLY;
- if StrToInt(xmlGetAttrValue(HXML(node),ioWindow))=1 then
- flags:=flags or ACF_GETACTIVE;
- end;
end;
end;
|