///////////////////////////////////////////////////////////////////////////////
// LameXP - Audio Encoder Front-End
-// Copyright (C) 2004-2014 LoRd_MuldeR <MuldeR2@GMX.de>
+// Copyright (C) 2004-2016 LoRd_MuldeR <MuldeR2@GMX.de>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
//Qt
#include <QtGlobal>
-//Initialize static Qt plugins
-#ifdef QT_NODLL
-#if QT_VERSION < QT_VERSION_CHECK(5,0,0)
-Q_IMPORT_PLUGIN(qico)
-Q_IMPORT_PLUGIN(qsvg)
-#else
-Q_IMPORT_PLUGIN(QWindowsIntegrationPlugin)
-Q_IMPORT_PLUGIN(QICOPlugin)
-#endif
-#endif
-
-//Localization
-const char* LAMEXP_DEFAULT_LANGID = "en";
-const char* LAMEXP_DEFAULT_TRANSLATION = "LameXP_EN.qm";
-
///////////////////////////////////////////////////////////////////////////////
// GLOBAL FUNCTIONS
///////////////////////////////////////////////////////////////////////////////
extern "C"
{
int mainCRTStartup(void);
-
- void _lamexp_global_init_versn(void);
- void _lamexp_global_init_tools(void);
- void _lamexp_global_init_utils(void);
-
- void _lamexp_global_free_versn(void);
- void _lamexp_global_free_tools(void);
- void _lamexp_global_free_utils(void);
}
/*
* Application entry point (runs before static initializers)
*/
-
extern "C" int lamexp_entry_point(void)
{
if(g_lamexp_entry_check_flag != 0x789E09B2)
MUtils::OS::fatal_exit(L"Application initialization has failed, take care!");
}
- //Call global initialization functions
- _lamexp_global_init_versn();
- _lamexp_global_init_tools();
- _lamexp_global_init_utils();
-
//Make sure we will pass the check
g_lamexp_entry_check_flag = (~g_lamexp_entry_check_flag);
//Now initialize the C Runtime library!
return mainCRTStartup();
}
-
-/*
- * Application finalization function
- */
-void lamexp_finalization(void)
-{
- qDebug("lamexp_finalization()");
-
- //Call global finalization functions, in proper order
- _lamexp_global_free_versn();
- _lamexp_global_free_tools();
- _lamexp_global_free_utils();
-}