Suggested function for WCX interface

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
Alextp
Power Member
Power Member
Posts: 2321
Joined: 2004-08-16, 22:35 UTC
Location: Russian Federation
Contact:

Suggested function for WCX interface

Post by *Alextp »

Hello Christian,
Here is suggestion for next TC version, for plugins installing:
Add to WCX interface function GetPackerExtensions.
If it returns string: e.g. "iso bin nrg"(convert to lowercase),
TC should add plugin as this:

[PackerPlugins]
iso=nnn,filename.wcx
bin=nnn,filename.wcx
nrg=nnn,filename.wcx


where nnn:= IntToStrDef(GetPackerCaps, '0')

And if it returns: "nnn1,iso nnn2,bin nrg" TC should
register using numbers nnn1,nnn2 (default is '0').

This is for easy installing plugins that have several extensions
(e.g. iso.wcx, msi.wcx, multiarc.wcx)

In my TC_Plugman I'll also use this function.
Regards,
Last edited by Alextp on 2004-09-22, 15:36 UTC, edited 1 time in total.
Post Reply