summaryrefslogtreecommitdiffstats
path: root/pica-client/main.cpp
diff options
context:
space:
mode:
authorAnton <anton@picapica>2021-06-29 02:13:06 +0400
committerAnton <anton@picapica>2021-06-29 02:13:06 +0400
commit1a150eb79fc9c041622a63d51e9a1adfd47c8bcd (patch)
tree3bdb401dec525a9d88201829485e50b6b8ae5009 /pica-client/main.cpp
parent2d1002443c245c54f92f4bee31cb2d0232ce15e7 (diff)
downloadpica-pica-1a150eb79fc9c041622a63d51e9a1adfd47c8bcd.tar.gz
pica-pica-1a150eb79fc9c041622a63d51e9a1adfd47c8bcd.zip
add audiovideocallcontroller and callwindow, menu action to initiate call
Diffstat (limited to 'pica-client/main.cpp')
-rw-r--r--pica-client/main.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/pica-client/main.cpp b/pica-client/main.cpp
index d44025d..e4b7ca9 100644
--- a/pica-client/main.cpp
+++ b/pica-client/main.cpp
@@ -24,6 +24,7 @@
#include "skynet.h"
#include "msguirouter.h"
#include "filetransfercontroller.h"
+#include "audiovideocallcontroller.h"
#include "picaactioncenter.h"
#include "picasystray.h"
#include <QDir>
@@ -51,6 +52,7 @@ QIcon picapica_ico_fly;
class PicaActionCenter *action_center;
class PicaSysTray *systray;
class FileTransferController *ftctrl;
+class AudioVideoCallController *avctrl;
class AccountsWindow *accwindow;
QString config_defaultDHParam;
@@ -544,6 +546,9 @@ int main(int argc, char *argv[])
FileTransferController ftc;
ftctrl = &ftc;
+ AudioVideoCallController avc;
+ avctrl = &avc;
+
aw.show();
a.setQuitOnLastWindowClosed(false);