ADTF Qt5
Loading...
Searching...
No Matches
macros.h
Go to the documentation of this file.
1
7
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>
15#include <adtfbase/macroresolver_intf.h>
16#include <QObject>
17
18namespace adtf
19{
20
21namespace javascript
22{
23
24namespace scripting
25{
26
30class cScriptMacros : public QObject
31{
32 Q_OBJECT
33
34public:
38
46 Q_INVOKABLE QString resolve(const QString& strUnresolved);
47
48private:
50 // due to garbage collection we cannot keep the reference forever
51 ucom::weak_object_ptr<adtf::services::IMacroResolver> m_pMacroResolver;
53};
54
55} // namespace scripting
56} // namespace javascript
57} // namespace adtf
Q_INVOKABLE QString resolve(const QString &strUnresolved)
Definition clock.h:25
Namespace for the ADTF JavaScript Filter SDK.
Definition clock.h:22
Namespace for all functionality provided by ADTF and its SDKs.
Definition adtfui_pkg.h:13