-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.cpp
More file actions
22 lines (16 loc) · 601 Bytes
/
main.cpp
File metadata and controls
22 lines (16 loc) · 601 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#include "overlaywidget.h"
#include "openvroverlaycontroller.h"
#include <QtWidgets/QApplication>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
a.setOrganizationName("GameMods");
a.setOrganizationDomain("https://GameMods.org");
a.setApplicationName("OVRAudioManager");
OverlayWidget *pOverlayWidget = new OverlayWidget;
COpenVROverlayController::SharedInstance()->Init();
COpenVROverlayController::SharedInstance()->SetWidget( pOverlayWidget );
// don't show widgets that you're going display in an overlay
//w.show();
return a.exec();
}