[This is preliminary documentation and is subject to change.]
Assembly: Tools.TotalCommander (in Tools.TotalCommander.dll) Version: 1.5.3.38916 (1.5.3.38916)
Syntax
| C# |
|---|
public virtual bool LinksToLocalFiles { get; } |
| Visual Basic |
|---|
Public Overridable ReadOnly Property LinksToLocalFiles As Boolean Get |
| Visual C++ |
|---|
public: virtual property bool LinksToLocalFiles { bool get (); } |
| F# |
|---|
abstract LinksToLocalFiles : bool override LinksToLocalFiles : bool |
| JScript |
|---|
function get LinksToLocalFiles () : boolean |
Return Value
True if the plugin is a temporary panel-style plugin; false if the plugin is a normal file system plugin
Remarks
If your plugin is a temporary panel plugin, the following functions MUST be thread-safe (can be called from background transfer manager):
- LinksToLocalFiles
- FindFirst(String, FindData%)
- FindNext(Object, FindData%)
- FindClose(Object)
- GetLocalName(String, Int32)
This means that when uploading subdirectories from your plugin to FTP in the background, Total Commander will call these functions in a background thread. If the user continues to work in the foreground, calls to FsFindFirst(SByte*, _WIN32_FIND_DATAW*) and FsFindNext(Void*, _WIN32_FIND_DATAW*) may be occuring at the same time! Therefore it's very important to use the search handle to keep temporary information about the search.
StatusInfo(String, OperationStatus, OperationKind) will NOT be called from the background thread!
| Do not thow any other exceptions. Such exception will be passed to Total Commander which cannot handle it. |
Unlike in case of methods, this is property. But the possible MethodNotSupportedAttribute must be applied onto method - this is the getter of this property.
This property implements plugin function FsLinksToLocalFiles()()()()
.
Exceptions
| Exception | Condition |
|---|---|
| System..::..NotSupportedException | The actual implementation of getter is marked with MethodNotSupportedAttribute which means that the plugin doesnot support operation provided by the method. |