aboutsummaryrefslogtreecommitdiff
path: root/confui/main.cpp
blob: 88453a7732a8824227fe0d02abbd02becabcae7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include "main.h"
#include "mainwindow.h"

extern "C" {
static const uint16_t _test	 = 1;
static const uint8_t *_ptest = (uint8_t *)&_test;
uint8_t g_cd_endianness;
}

CDMainWindow *g_cd_main_window = nullptr;

int main(int argc, char *argv[]) {
	g_cd_endianness	 = *_ptest;
	g_cd_app		 = new QApplication(argc, argv);
	g_cd_main_window = new CDMainWindow();
	g_cd_main_window->show();
	return g_cd_app->exec();
}