summaryrefslogtreecommitdiff
path: root/plugins/ExternalAPI/delphi
diff options
context:
space:
mode:
authorAlexey Kulakov <panda75@bk.ru>2014-12-31 17:08:47 +0000
committerAlexey Kulakov <panda75@bk.ru>2014-12-31 17:08:47 +0000
commitda87b3fa0479333cfe9505713f6ffaa54b9ba543 (patch)
treed4868e4947c3944bb3313a057ec3b189a876018f /plugins/ExternalAPI/delphi
parentf33f9ebac9806cba6bfd89715566a65c29b5fee2 (diff)
pascal code: reformat, small fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@11700 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/ExternalAPI/delphi')
-rw-r--r--plugins/ExternalAPI/delphi/m_actman.inc2
-rw-r--r--plugins/ExternalAPI/delphi/m_music.inc26
-rw-r--r--plugins/ExternalAPI/delphi/m_text.inc2
3 files changed, 15 insertions, 15 deletions
diff --git a/plugins/ExternalAPI/delphi/m_actman.inc b/plugins/ExternalAPI/delphi/m_actman.inc
index 6a65b9446a..757ce0965b 100644
--- a/plugins/ExternalAPI/delphi/m_actman.inc
+++ b/plugins/ExternalAPI/delphi/m_actman.inc
@@ -148,7 +148,7 @@ const
wParam - repeat count
lParam - unicode task name
Return - old repeat count value
- Note - works for all tasks with same started name
+ Note - works for all tasks with same started name. Returns old counter of last found task
}
MS_ACT_TASKCOUNT:PAnsiChar = 'Actions/TaskCount';
diff --git a/plugins/ExternalAPI/delphi/m_music.inc b/plugins/ExternalAPI/delphi/m_music.inc
index d881708eef..f1cf3540fc 100644
--- a/plugins/ExternalAPI/delphi/m_music.inc
+++ b/plugins/ExternalAPI/delphi/m_music.inc
@@ -44,21 +44,21 @@ type
type
pSongInfo=^tSongInfo;
tSongInfo = record
- artist :pWideChar;
- title :pWideChar;
- album :pWideChar;
- genre :pWideChar;
- comment :pWideChar;
- year :pWideChar;
- mfile :pWideChar; // media file
+ artist :PWideChar;
+ title :PWideChar;
+ album :PWideChar;
+ genre :PWideChar;
+ comment :PWideChar;
+ year :PWideChar;
+ mfile :PWideChar; // media file
kbps :dword;
khz :dword;
channels :dword;
track :dword;
total :dword; // music length
time :dword; // elapsed time
- wndtext :pWideChar; // window title
- player :pWideChar; // player name
+ wndtext :PWideChar; // window title
+ player :PWideChar; // player name
plyver :dword; // player version
icon :HICON; // player icon
fsize :dword; // media file size
@@ -71,9 +71,9 @@ type
height :dword;
fps :dword;
date :int64;
- txtver :pWideChar;
- lyric :pWideChar;
- cover :pWideChar; // cover path
+ txtver :PWideChar;
+ lyric :PWideChar;
+ cover :PWideChar; // cover path
volume :dword;
url :PWideChar; // player homepage
winampwnd:HWND;
@@ -310,7 +310,7 @@ type
tInitProc = function():integer;cdecl;
tDeInitProc = function():integer;cdecl;
tStatusProc = function(wnd:HWND):integer;cdecl;
- tNameProc = function(wnd:HWND;flags:integer):pWideChar;cdecl;
+ tNameProc = function(wnd:HWND;flags:integer):PWideChar;cdecl;
tCheckProc = function(wnd:HWND;flags:integer):HWND;cdecl;
tInfoProc = function(var SongInfo:tSongInfo;flags:integer):integer;cdecl;
tCommandProc = function(wnd:HWND;command:integer;value:integer):integer;cdecl;
diff --git a/plugins/ExternalAPI/delphi/m_text.inc b/plugins/ExternalAPI/delphi/m_text.inc
index 5847cd92e1..11d6a5f0b0 100644
--- a/plugins/ExternalAPI/delphi/m_text.inc
+++ b/plugins/ExternalAPI/delphi/m_text.inc
@@ -40,7 +40,7 @@ type
Register :function(const userTitle:PAnsiChar; options:dword):THANDLE; stdcall;
Create :function(userHandle:THANDLE; text:pointer):THANDLE; stdcall;
- CreateEx :function(userHandle:THANDLE; hContact:TMCONTACT; text:pointer; flags:dword):THANDLE; stdcall;
+ CreateEx :function(userHandle:THANDLE; text:pointer; flags:dword):THANDLE; stdcall;
Measure :function(dc:HDC; sz:PSIZE; text:THANDLE):int; stdcall;
Display :function(dc:HDC; pos:TPOINT; sz:TSIZE; text:THANDLE):int; stdcall;
SetParent :function(text:THANDLE; hwnd:HWND; rect:TRECT):int; stdcall;