You've already forked lazarus-ccr
Provide a property manager to the filters so a "Password" can be store and retrieved.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2379 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -227,7 +227,11 @@ var
|
||||
locOldPos : Int64;
|
||||
begin
|
||||
if ASource.InheritsFrom(TMemoryStream) then begin
|
||||
locBuffer := FFilter.ExecuteInput(TMemoryStream(ASource).Memory^,ASource.Size);
|
||||
locBuffer := FFilter.ExecuteInput(
|
||||
TMemoryStream(ASource).Memory^,
|
||||
ASource.Size,
|
||||
FFilter.GetPropertyManager()
|
||||
);
|
||||
end else begin
|
||||
SetLength(locInBuffer,ASource.Size);
|
||||
locOldPos := ASource.Position;
|
||||
@ -237,7 +241,7 @@ begin
|
||||
finally
|
||||
ASource.Position := locOldPos;
|
||||
end;
|
||||
locBuffer := FFilter.ExecuteInput(locInBuffer[0],Length(locInBuffer));
|
||||
locBuffer := FFilter.ExecuteInput(locInBuffer[0],Length(locInBuffer),FFilter.GetPropertyManager());
|
||||
end;
|
||||
ADest.Size := Length(locBuffer);
|
||||
ADest.Position := 0;
|
||||
@ -251,7 +255,7 @@ var
|
||||
locOldPos : Int64;
|
||||
begin
|
||||
if ASource.InheritsFrom(TMemoryStream) then begin
|
||||
locBuffer := FFilter.ExecuteOutput(TMemoryStream(ASource).Memory^,ASource.Size);
|
||||
locBuffer := FFilter.ExecuteOutput(TMemoryStream(ASource).Memory^,ASource.Size,FFilter.GetPropertyManager());
|
||||
end else begin
|
||||
SetLength(locInBuffer,ASource.Size);
|
||||
locOldPos := ASource.Position;
|
||||
@ -261,7 +265,7 @@ begin
|
||||
finally
|
||||
ASource.Position := locOldPos;
|
||||
end;
|
||||
locBuffer := FFilter.ExecuteOutput(locInBuffer[0],Length(locInBuffer));
|
||||
locBuffer := FFilter.ExecuteOutput(locInBuffer[0],Length(locInBuffer),FFilter.GetPropertyManager());
|
||||
end;
|
||||
ADest.Size := Length(locBuffer);
|
||||
ADest.Position := 0;
|
||||
|
Reference in New Issue
Block a user