diff options
Diffstat (limited to 'telephony/telephony.h')
-rw-r--r-- | telephony/telephony.h | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/telephony/telephony.h b/telephony/telephony.h index 2aecc86..9c15610 100644 --- a/telephony/telephony.h +++ b/telephony/telephony.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017-2020 Konsulko Group + * Copyright (C) 2017-2020,2022 Konsulko Group * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -17,12 +17,8 @@ #ifndef TELEPHONY_H #define TELEPHONY_H -#include <memory> #include <QObject> -class MessageEngine; -class Message; - class Telephony : public QObject { Q_OBJECT @@ -33,7 +29,7 @@ class Telephony : public QObject Q_PROPERTY(QString callColp READ callColp) public: - explicit Telephony(QUrl &url, QObject * parent = Q_NULLPTR); + explicit Telephony(QObject * parent = Q_NULLPTR); virtual ~Telephony(); Q_INVOKABLE void dial(QString number); Q_INVOKABLE void answer(); @@ -71,13 +67,9 @@ class Telephony : public QObject private: bool m_connected; bool m_online; - std::shared_ptr<MessageEngine> m_mloop; QString m_call_state; QString m_clip; QString m_colp; - void onConnected(); - void onDisconnected(); - void onMessageReceived(std::shared_ptr<Message>); }; #endif // TELEPHONY_H |