forked from quickshell/quickshell
core: synthesized qmldir files and new qml scanning strategy
This commit is contained in:
parent
1687ff3614
commit
ffbdac9977
14 changed files with 354 additions and 90 deletions
16
src/core/enginecontext.hpp
Normal file
16
src/core/enginecontext.hpp
Normal file
|
@ -0,0 +1,16 @@
|
|||
#pragma once
|
||||
|
||||
#include "qsintercept.hpp"
|
||||
#include "scan.hpp"
|
||||
#include "singleton.hpp"
|
||||
|
||||
class EngineContext {
|
||||
public:
|
||||
explicit EngineContext(const QmlScanner& scanner);
|
||||
|
||||
private:
|
||||
const QmlScanner& scanner;
|
||||
QQmlEngine engine;
|
||||
QsInterceptNetworkAccessManagerFactory interceptFactory;
|
||||
SingletonRegistry singletonRegistry;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue