From de405ce8922713b78fe30c7612cbfc610578a474 Mon Sep 17 00:00:00 2001 From: Arisotura Date: Tue, 14 Apr 2020 23:17:16 +0200 Subject: [PATCH] so, this is it this was a glorious fight, but I admit defeat --- melonDS.cbp | 2 ++ src/frontend/qt/main.cpp | 45 ++++++++++++++++++++++++++++++++++++++++ src/frontend/qt/main.h | 24 +++++++++++++++++++++ 3 files changed, 71 insertions(+) create mode 100644 src/frontend/qt/main.cpp create mode 100644 src/frontend/qt/main.h diff --git a/melonDS.cbp b/melonDS.cbp index 8d900d1f..7305ee56 100644 --- a/melonDS.cbp +++ b/melonDS.cbp @@ -153,6 +153,8 @@ + + diff --git a/src/frontend/qt/main.cpp b/src/frontend/qt/main.cpp new file mode 100644 index 00000000..3f61ec65 --- /dev/null +++ b/src/frontend/qt/main.cpp @@ -0,0 +1,45 @@ +/* + Copyright 2016-2020 Arisotura + + This file is part of melonDS. + + melonDS is free software: you can redistribute it and/or modify it under + the terms of the GNU General Public License as published by the Free + Software Foundation, either version 3 of the License, or (at your option) + any later version. + + melonDS is distributed in the hope that it will be useful, but WITHOUT ANY + WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with melonDS. If not, see http://www.gnu.org/licenses/. +*/ + +#include +#include +#include +#include + +// Qt includes and shit here, I guess + +#include "main.h" + +#include "../version.h" + + +// + + +int main(int argc, char** argv) +{ + srand(time(NULL)); + + printf("melonDS " MELONDS_VERSION "\n"); + printf(MELONDS_URL "\n"); + + printf("Arisotura hereby admits defeat\n"); + printf("NI DIEU NI MAITRE\n"); + + return 0; +} diff --git a/src/frontend/qt/main.h b/src/frontend/qt/main.h new file mode 100644 index 00000000..65d6518c --- /dev/null +++ b/src/frontend/qt/main.h @@ -0,0 +1,24 @@ +/* + Copyright 2016-2020 Arisotura + + This file is part of melonDS. + + melonDS is free software: you can redistribute it and/or modify it under + the terms of the GNU General Public License as published by the Free + Software Foundation, either version 3 of the License, or (at your option) + any later version. + + melonDS is distributed in the hope that it will be useful, but WITHOUT ANY + WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with melonDS. If not, see http://www.gnu.org/licenses/. +*/ + +#ifndef MAIN_H +#define MAIN_H + +// put the class shit here + +#endif // MAIN_H