TConnector Class

Base connector if you want an ancestor for your connectors instead of using the interface IConnector.

Unit: Zicplay.Types
TInterfacedObject
  Zicplay.Types.TConnector
    ZicPlay.Connector.FileSystem.TZicPlayConnectorFileSystem
type TConnector = class(TInterfacedObject)

The TConnector type exposes the following members.

Show:
 NameDescription
Create

Create an instance of this connector

Destroy

Destroy current instance of this connector

Top
Show:
 NameDescription
Current

Return current instance of this connector

Top
Show:
 NameDescription
GetName

Name of this connector (displayed to the users)

GetPlaylist

Return the playlist from a connector (with playlist parameters)

GetUniqID

Uniq ID (a GUID is fine) for this connector

LoadFromStream

Load connector parameters from a stream

PlaylistSetupDialog

Display setup dialog for a playlist using this connector

SaveToStream

Save connector parameters in a stream

SetupDialog

Display setup dialog for a connector

hasPlaylistSetupDialog

True if the PlaylistSetupDialog procedure can be called to display a dialog box from the playlist options False if no setup dialog for this connector

hasSetupDialog

True if the SetupDialog procedure can be called to display a dialog box from the Tools menu False if no setup dialog for this connector

Top