diff options
author | Arisotura <thetotalworm@gmail.com> | 2020-04-14 23:17:16 +0200 |
---|---|---|
committer | Arisotura <thetotalworm@gmail.com> | 2020-04-14 23:17:16 +0200 |
commit | de405ce8922713b78fe30c7612cbfc610578a474 (patch) | |
tree | 4b31ec76f4ce9bf09eec6416d545286ae657e68d | |
parent | ec6e4a2d1ee8e7d4b9726ed89677f46ec90bf317 (diff) |
so, this is it
this was a glorious fight, but I admit defeat
-rw-r--r-- | melonDS.cbp | 2 | ||||
-rw-r--r-- | src/frontend/qt/main.cpp | 45 | ||||
-rw-r--r-- | src/frontend/qt/main.h | 24 |
3 files changed, 71 insertions, 0 deletions
diff --git a/melonDS.cbp b/melonDS.cbp index 8d900d1..7305ee5 100644 --- a/melonDS.cbp +++ b/melonDS.cbp @@ -153,6 +153,8 @@ <Unit filename="src/Wifi.h" /> <Unit filename="src/WifiAP.cpp" /> <Unit filename="src/WifiAP.h" /> + <Unit filename="src/frontend/qt/main.cpp" /> + <Unit filename="src/frontend/qt/main.h" /> <Unit filename="src/libui_sdl/DlgAudioSettings.cpp" /> <Unit filename="src/libui_sdl/DlgAudioSettings.h" /> <Unit filename="src/libui_sdl/DlgEmuSettings.cpp" /> diff --git a/src/frontend/qt/main.cpp b/src/frontend/qt/main.cpp new file mode 100644 index 0000000..3f61ec6 --- /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 <stdlib.h> +#include <time.h> +#include <stdio.h> +#include <string.h> + +// 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 0000000..65d6518 --- /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 |