ADTF Qt5
Loading...
Searching...
No Matches
adtf::javascript::scripting::cScriptMacros Class Reference

#include <macros.h>

Inherits QObject.

Public Member Functions

Q_INVOKABLE QString resolve (const QString &strUnresolved)
 

Detailed Description

Provides the global 'macros' object within scripts.

Member Function Documentation

◆ resolve()

Q_INVOKABLE QString adtf::javascript::scripting::cScriptMacros::resolve ( const QString & strUnresolved)

Example Usage

let guidesPath = macros.resolve("$(ADTF_DIR)/doc/adtf3_guides.html")
console.info("ADTF3 GUIDES " + guidesPath)
Parameters
[in]strUnresolvedString including macros
Returns
String with resolved macros

The documentation for this class was generated from the following file: