Detect-It-Easy/help/Global.md
2025-02-28 10:40:59 +03:00

1.2 KiB

###This is a description of the global functions

  • You could use all functions from all scripts.

includeScript(sScriptName) Include another script into this one.

  • sScriptName - The script name. Default path is $APP/db.
includeScript("Cab"); // include script $APP/db/Cab

_log(sString) Display a message in the log window or as a console error. It is used to debug signatures.

  • sString - The message.
_log("Hello world!"); // display a string
_log(123); // display a number

result() Get a result string appropriate to the class.

_setResult(sType,sName,sVersion,sOptions) Set result.

bool _isResultPresent(const QString &sType, const QString &sName)

qint32 _getNumberOfResults(const QString &sType)

void _removeResult(const QString &sType, const QString &sName)

bool _isStop Is scan stopped

void _encodingList() Show in log all text codecs

bool _isConsoleMode()

bool _isLiteMode()

bool _isGuiMode()

bool _isLibraryMode()

void _breakScan()

QString _getEngineVersion()

QString _getOS()