diff options
author | Alexey Kulakov <panda75@bk.ru> | 2015-02-26 14:30:30 +0000 |
---|---|---|
committer | Alexey Kulakov <panda75@bk.ru> | 2015-02-26 14:30:30 +0000 |
commit | 02f53972b1806473e55b1164a70f5d8ddccc1450 (patch) | |
tree | 90dbcc1871169e77f2905d6164073f9b0cca4ff1 /plugins/Actman/iac_global.pas | |
parent | 04b7963d0402dc29527f8e2301b47f4a06cbd825 (diff) |
Delphi: Service and parameters API reworked
QS: adapted for new service API
Actman: updated for new service API
git-svn-id: http://svn.miranda-ng.org/main/trunk@12274 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Actman/iac_global.pas')
-rw-r--r-- | plugins/Actman/iac_global.pas | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/plugins/Actman/iac_global.pas b/plugins/Actman/iac_global.pas index 03425c6027..df4f14bd05 100644 --- a/plugins/Actman/iac_global.pas +++ b/plugins/Actman/iac_global.pas @@ -6,6 +6,14 @@ uses windows, messages,
m_api;
+
+const
+ rtUnkn = 0;
+ rtInt = 1;
+ rtWide = 2;
+ rtAnsi = 3;
+ rtUTF8 = 4;
+
var
xmlparser:TXML_API_W;
@@ -268,18 +276,6 @@ begin else if rt^<>rtUnkn then
begin
result:=NumToInt(pWideChar(lr^));
-{
- if (pWideChar(WorkData.LastResult)[0]='$') and
- (AnsiChar(pWideChar(WorkData.LastResult)[1]) in sHexNum) then
- result:=HexToInt(pWideChar(WorkData.LastResult)+1)
- else
- if (pWideChar(WorkData.LastResult)[0]='0') and
- (pWideChar(WorkData.LastResult)[1]='x') and
- (AnsiChar(pWideChar(WorkData.LastResult)[2]) in sHexNum) then
- result:=HexToInt(pWideChar(WorkData.LastResult)+2)
- else
- result:=StrToInt(pWideChar(WorkData.LastResult));
-}
end;
end;
|