Also add basic support for "clean exit" to Symbian (although hacky)
This commit is contained in:
parent
ae94967bec
commit
5557c6801b
2 changed files with 9 additions and 1 deletions
|
@ -24,6 +24,8 @@
|
|||
#endif
|
||||
#include "QtMain.h"
|
||||
|
||||
#include <string.h>
|
||||
|
||||
InputState* input_state;
|
||||
|
||||
std::string System_GetProperty(SystemProperty prop) {
|
||||
|
@ -54,7 +56,12 @@ std::string System_GetProperty(SystemProperty prop) {
|
|||
}
|
||||
|
||||
void System_SendMessage(const char *command, const char *parameter) {
|
||||
// Log?
|
||||
// TODO: Cleaner exit
|
||||
if (!strcmp(command, "finish")) {
|
||||
NativeShutdown();
|
||||
net::Shutdown();
|
||||
exit(0);
|
||||
}
|
||||
}
|
||||
|
||||
bool System_InputBoxGetString(char *title, const char *defaultValue, char *outValue, size_t outLength)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue