mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-02-07 15:08:24 +00:00
Instantiate SDK thread. Add logger. Format logs to match SDK syntax. Change log domain to 'app'.
20 lines
No EOL
395 B
C++
20 lines
No EOL
395 B
C++
|
|
#include <QQmlApplicationEngine>
|
|
#include <QSharedPointer>
|
|
|
|
#include "core/thread/Thread.hpp"
|
|
#include "model/core/CoreModel.hpp"
|
|
|
|
class App : public QObject {
|
|
public:
|
|
App(QObject *parent = nullptr);
|
|
|
|
void init();
|
|
void initCppInterfaces();
|
|
|
|
void onLoggerInitialized();
|
|
|
|
QQmlApplicationEngine *mEngine = nullptr;
|
|
Thread *mLinphoneThread = nullptr;
|
|
QSharedPointer<CoreModel> mCoreModel;
|
|
}; |