I can do this in other languages that I use. For instance I can do this in PHP when needed for web app creation, but here is what I want to do and can't find a solution:
I want to define an interface say:
unit myBigUnit;
interface
uses someUnits;
type
TsampleType = class
someVar: Integer;
someOtherVar: Integer;
someObj: TneatObj;
procedure foo;
function bar : String;
procedure foobar(a: boolean);
All this in one file. Now I want two files that implement this interface or at least know about it. In php I can just say
class blah implements thisInterface
but I can't find an equivalent in Delphi. What I am trying to do is implement this in one unit while in another one I just want it to know about these functions/procedures/et al so I can then call them from there. I couldn't care less about how it is implemented. I thought this was the whole point of having interfaces and separating them from implementors?
How do I do this in Delphi?