Use OOP to refactor main function

This commit is contained in:
dijunkun
2024-06-03 15:23:37 +08:00
parent d150c374b5
commit 6f703c8267
9 changed files with 414 additions and 1204 deletions

View File

@@ -6,18 +6,12 @@
#endif
#endif
#include "connection.h"
#include "log.h"
#include "main_window.h"
int main(int argc, char *argv[]) {
LOG_INFO("Remote desk");
MainWindow main_window;
Connection connection;
connection.DeskConnectionInit();
connection.DeskConnectionCreate("123456");
// connection.Create("123456", 800, 600);
main_window.Run();