Category : Pascal Source Code
Archive   : TVTOOL2.ZIP
Filename : TVOBJECT.INT

 
Output of file : TVOBJECT.INT contained in archive : TVTOOL2.ZIP
UNIT TvObject;
{$B+}
{$X+}
{$V-}

{$I TVDEFS.INC}

INTERFACE


USES
TvString,
Objects;


TYPE
PbxObject = ^TbxObject;
TbxObject = Object(TObject)
Function GetText(MaxLen : Integer): String; Virtual;
end;


PbxSelectObject = ^TbxSelectObject;
TbxSelectObject = Object(TbxObject)
Selected : Boolean;

Constructor Load(var S: TStream);
Function GetSelect: Boolean; Virtual;
Procedure SetSelect(AState : Boolean); Virtual;
Procedure Store(var S: TStream);
end;


PbxSelectStr = ^TbxSelectStr;
TbxSelectStr = Object(TbxSelectObject)
St : PString;

Constructor Init (const AString : String);
Constructor Load(var S: TStream);
Destructor Done; Virtual;
Function GetText(MaxLen : Integer): String; Virtual;
Procedure Store(var S: TStream);
end;


PbxCollection = ^TbxCollection;
TbxCollection = Object(TSortedCollection)
Function Compare(Key1, Key2 : Pointer): Integer; Virtual;
end;


PbxUnsortedStringCollection = ^TbxUnsortedStringCollection;
TbxUnsortedStringCollection = Object(TStringCollection)
Procedure Insert(Item : Pointer); Virtual;
end;


{ TvObject registration procedure }

Procedure RegisterTVObject;


{ Stream Registration Records }

CONST
RbxSelectObject: TStreamRec = (
ObjType : 5150;
VmtLink : Ofs(TypeOf(TbxSelectObject)^);
Load : @TbxSelectObject.Load;
Store : @TbxSelectObject.Store
);

CONST
RbxSelectStr: TStreamRec = (
ObjType : 5151;
VmtLink : Ofs(TypeOf(TbxSelectStr)^);
Load : @TbxSelectStr.Load;
Store : @TbxSelectStr.Store
);

CONST
RbxCollection: TStreamRec = (
ObjType : 5152;
VmtLink : Ofs(TypeOf(TbxCollection)^);
Load : @TbxCollection.Load;
Store : @TbxCollection.Store
);

CONST
RbxUnsortedStringCollection: TStreamRec = (
ObjType : 5153;
VmtLink : Ofs(TypeOf(TbxUnsortedStringCollection)^);
Load : @TbxUnsortedStringCollection.Load;
Store : @TbxUnsortedStringCollection.Store
);



  3 Responses to “Category : Pascal Source Code
Archive   : TVTOOL2.ZIP
Filename : TVOBJECT.INT

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/