Adds registration of the default TWSLazDeviceAPIs class when the WS lacks an implementation

git-svn-id: trunk@34947 -
This commit is contained in:
sekelsenmat 2012-01-26 10:44:08 +00:00
parent 2ef6d922c8
commit ca2975464a

View File

@ -74,9 +74,8 @@ const
Done: Boolean = False;
begin
if Done then exit;
WSRegisterLazDeviceAPIs;
// if not WSRegisterArrow then
// RegisterWSComponent(TArrow, TWSArrow);
if not WSRegisterLazDeviceAPIs() then
RegisterWSLazDeviceAPIs(TWSLazDeviceAPIs);
Done := True;
end;