New interface documentation for TC7 plugins
Moderators: white, Hacker, petermad, Stefan2
- ghisler(Author)
- Site Admin
- Posts: 48097
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
New interface documentation for TC7 plugins
As promised, I have now published the changed documentation for packer, file system and content plugins. The lister plugin interface has NOT been changed.
Packer plugins
File system plugins
Content plugins
Lister plugins (requires beta 4)
Please report any problems you find with the documentation here in this thread!
Packer plugins
File system plugins
Content plugins
Lister plugins (requires beta 4)
Please report any problems you find with the documentation here in this thread!
Last edited by ghisler(Author) on 2007-02-23, 09:48 UTC, edited 2 times in total.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
2ghisler(Author)
Thank you very much
Thank you very much
Are you sure? I thought plug-ins need to react if the user wants to fit only large images or center images?The lister plugin interface has NOT been changed.
Last edited by Lefteous on 2006-11-09, 23:09 UTC, edited 1 time in total.
Some typos and mistakes in new documentation found. One serious mistake in FSPLUGIN.HLP: in fsplugin.pas contains description of FsContentGetDetectString function prototype, but that function not present in wfx API. Also that prototype not described in fsplugin.h.
Sorry for my bad English, but i think, I have clearly described this mistake.
Sorry for my bad English, but i think, I have clearly described this mistake.
- ghisler(Author)
- Site Admin
- Posts: 48097
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
2D1P
Thanks for the info! Can you send me a list of errors by e-mail, please? You can also list them here if you prefer.
Thanks for the info! Can you send me a list of errors by e-mail, please? You can also list them here if you prefer.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Some found mistakes in contentplugin.HLP:
ContentGetSupportedField decription, unnecessary blank before a point:
ContentGetSupportedField decription, unnecessary blank before a point:
ContentPluginUnloading description, bold "T" symbol:When a field supports several units like bytes, kbytes, Mbytes etc, they need to be specified here in the following form: bytes|kbytes|Mbytes .
ContentGetSupportedFieldFlags decription, twice repeated blank before contflags_subst*:There are no parameters.
I yet have not read other files so closely, but I post here, if I find other mistakes.Returning one of the__contflags_subst* flags instructs Total Commander to replace (substitute) the returned variable...
A typo fix : In contentplugin.hlp -> ContentSendStateInformation ->
contst_showhint didn't have a r (contentplug.h -> #define contst_showhint 4)contstr_showhint: A tooltip/hint window is shown for the current file.
path Current path. In case of contstr_showhint, this is the path to the file, otherwise to the current directory.
- ghisler(Author)
- Site Admin
- Posts: 48097
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Hello,
I'm just going through the Content plugin documentation. At first, possibility to change field values is a very nice addition!
Here's a quote from the ContentGetSupportedFieldFlags page:
Anyway, thank you for publishing the docs that early.
I'm just going through the Content plugin documentation. At first, possibility to change field values is a very nice addition!
Here's a quote from the ContentGetSupportedFieldFlags page:
Happened when copying & pasting from ContentGetDefaultSortOrder page, hmm?!ContentGetSupportedFieldFlags wrote:Description of parameters:
FieldIndex The index of the field for which the sort order should be returned.
Anyway, thank you for publishing the docs that early.
- ghisler(Author)
- Site Admin
- Posts: 48097
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
It should read ListLoadNext instead of ListLoad in lister plugin help.
Declaration:
int __stdcall ListLoadNext(HWND ParentWin,HWND ListWin,char* FileToLoad,int ShowFlags);
TC plugins: Autodesk 3ds Max / Inventor / Revit Preview, FileInDir, ImageMetaData (JPG Comment/EXIF/IPTC/XMP), MATLAB MAT-file Viewer, Mover, SetFolderDate, Solid Edge Preview, Zip2Zero and more
- ghisler(Author)
- Site Admin
- Posts: 48097
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
You are right, sorry for the mistake! The help file has been updated now.ListLoadNext instead of ListLoad
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com