mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-30 21:17:43 +08:00
Use OOP to refactor main function
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user