ADTF  3.18.2
macros.h
Go to the documentation of this file.
1 
8 /*
9  * This file depends on Qt which is licensed under LGPLv3.
10  * See ADTF_DIR/3rdparty/qt5 and doc/license for detailed information.
11  */
12 #pragma once
13 
14 #include <adtfucom3/adtf_ucom3.h>
16 #include <QObject>
17 
18 namespace adtf
19 {
20 
21 namespace javascript
22 {
23 
24 namespace scripting
25 {
26 
30 class cScriptMacros: public QObject
31 {
32  Q_OBJECT
33 
34  public:
36  cScriptMacros();
38 
46  Q_INVOKABLE QString resolve(const QString & strUnresolved);
47  private:
49  // due to garbage collection we cannot keep the reference forever
52 };
53 
54 }
55 }
56 }
Copyright © Audi Electronics Venture GmbH.
Provides the global 'macros' object within scripts.
Definition: macros.h:31
Q_INVOKABLE QString resolve(const QString &strUnresolved)
Implementation of a weak pointer for usage with iobject_ptr and object_ptr.
Copyright © Audi Electronics Venture GmbH.
Namespace for entire ADTF SDK.