diff options
| author | Anton <anton@picapica> | 2021-06-29 02:13:06 +0400 |
|---|---|---|
| committer | Anton <anton@picapica> | 2021-06-29 02:13:06 +0400 |
| commit | 1a150eb79fc9c041622a63d51e9a1adfd47c8bcd (patch) | |
| tree | 3bdb401dec525a9d88201829485e50b6b8ae5009 /pica-client/audiovideocallcontroller.h | |
| parent | 2d1002443c245c54f92f4bee31cb2d0232ce15e7 (diff) | |
| download | pica-pica-1a150eb79fc9c041622a63d51e9a1adfd47c8bcd.tar.gz pica-pica-1a150eb79fc9c041622a63d51e9a1adfd47c8bcd.zip | |
add audiovideocallcontroller and callwindow, menu action to initiate call
Diffstat (limited to 'pica-client/audiovideocallcontroller.h')
| -rw-r--r-- | pica-client/audiovideocallcontroller.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/pica-client/audiovideocallcontroller.h b/pica-client/audiovideocallcontroller.h new file mode 100644 index 0000000..9bc9c38 --- /dev/null +++ b/pica-client/audiovideocallcontroller.h @@ -0,0 +1,35 @@ +/* + (c) Copyright 2012 - 2021 Anton Sviridenko + https://picapica.im + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, version 3. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see <https://www.gnu.org/licenses/>. +*/ +#ifndef AUDIOVIDEOCALLCONTROLLER_H +#define AUDIOVIDEOCALLCONTROLLER_H + +#include <QObject> +#include "callwindow.h" + +class AudioVideoCallController : public QObject +{ + Q_OBJECT +public: + explicit AudioVideoCallController(QObject *parent = nullptr); +public slots: + void start_call(QByteArray peer_id); +signals: +private: + CallWindow *callwindow; +}; + +#endif // AUDIOVIDEOCALLCONTROLLER_H |
