mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 06:44:27 +00:00
commit
10833fc9ae
@ -5,10 +5,15 @@
|
|||||||
#include "coreinfodialog.h"
|
#include "coreinfodialog.h"
|
||||||
#include "../ui_qt.h"
|
#include "../ui_qt.h"
|
||||||
|
|
||||||
extern "C"
|
#ifndef CXX_BUILD
|
||||||
{
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "../../../msg_hash.h"
|
#include "../../../msg_hash.h"
|
||||||
|
|
||||||
|
#ifndef CXX_BUILD
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
CoreInfoDialog::CoreInfoDialog(MainWindow *mainwindow, QWidget *parent) :
|
CoreInfoDialog::CoreInfoDialog(MainWindow *mainwindow, QWidget *parent) :
|
||||||
QDialog(parent)
|
QDialog(parent)
|
||||||
@ -93,4 +98,3 @@ void CoreInfoDialog::showCoreInfo()
|
|||||||
|
|
||||||
show();
|
show();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -20,7 +20,10 @@
|
|||||||
#include "coreoptionsdialog.h"
|
#include "coreoptionsdialog.h"
|
||||||
#include "../ui_qt.h"
|
#include "../ui_qt.h"
|
||||||
|
|
||||||
|
#ifndef CXX_BUILD
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <string/stdstring.h>
|
#include <string/stdstring.h>
|
||||||
#include <streams/file_stream.h>
|
#include <streams/file_stream.h>
|
||||||
#include <file/file_path.h>
|
#include <file/file_path.h>
|
||||||
@ -30,7 +33,10 @@ extern "C" {
|
|||||||
#include "../../../paths.h"
|
#include "../../../paths.h"
|
||||||
#include "../../../file_path_special.h"
|
#include "../../../file_path_special.h"
|
||||||
#include "../../../managers/core_option_manager.h"
|
#include "../../../managers/core_option_manager.h"
|
||||||
|
|
||||||
|
#ifndef CXX_BUILD
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
CoreOptionsDialog::CoreOptionsDialog(QWidget *parent) :
|
CoreOptionsDialog::CoreOptionsDialog(QWidget *parent) :
|
||||||
QDialog(parent)
|
QDialog(parent)
|
||||||
|
@ -15,10 +15,16 @@
|
|||||||
#include "playlistentrydialog.h"
|
#include "playlistentrydialog.h"
|
||||||
#include "../ui_qt.h"
|
#include "../ui_qt.h"
|
||||||
|
|
||||||
|
#ifndef CXX_BUILD
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "../../../file_path_special.h"
|
#include "../../../file_path_special.h"
|
||||||
#include "../../../configuration.h"
|
#include "../../../configuration.h"
|
||||||
|
|
||||||
|
#ifndef CXX_BUILD
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
FileDropWidget::FileDropWidget(QWidget *parent) :
|
FileDropWidget::FileDropWidget(QWidget *parent) :
|
||||||
QWidget(parent)
|
QWidget(parent)
|
||||||
|
@ -13,10 +13,16 @@
|
|||||||
#include "playlistentrydialog.h"
|
#include "playlistentrydialog.h"
|
||||||
#include "../ui_qt.h"
|
#include "../ui_qt.h"
|
||||||
|
|
||||||
|
#ifndef CXX_BUILD
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "../../../core_info.h"
|
#include "../../../core_info.h"
|
||||||
#include "../../../file_path_special.h"
|
#include "../../../file_path_special.h"
|
||||||
|
|
||||||
|
#ifndef CXX_BUILD
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
inline static bool comp_string_lower(const QString &lhs, const QString &rhs)
|
inline static bool comp_string_lower(const QString &lhs, const QString &rhs)
|
||||||
{
|
{
|
||||||
|
@ -4,7 +4,10 @@
|
|||||||
|
|
||||||
#include "../ui_qt.h"
|
#include "../ui_qt.h"
|
||||||
|
|
||||||
|
#ifndef CXX_BUILD
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <string/stdstring.h>
|
#include <string/stdstring.h>
|
||||||
#include <streams/file_stream.h>
|
#include <streams/file_stream.h>
|
||||||
#include <file/archive_file.h>
|
#include <file/archive_file.h>
|
||||||
@ -13,7 +16,10 @@ extern "C" {
|
|||||||
#include "../../../config.def.h"
|
#include "../../../config.def.h"
|
||||||
#include "../../../configuration.h"
|
#include "../../../configuration.h"
|
||||||
#include "../../../version.h"
|
#include "../../../version.h"
|
||||||
|
|
||||||
|
#ifndef CXX_BUILD
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#define USER_AGENT "RetroArch-WIMP/" PACKAGE_VERSION
|
#define USER_AGENT "RetroArch-WIMP/" PACKAGE_VERSION
|
||||||
#define PARTIAL_EXTENSION ".partial"
|
#define PARTIAL_EXTENSION ".partial"
|
||||||
|
@ -15,7 +15,10 @@
|
|||||||
#include "../ui_qt.h"
|
#include "../ui_qt.h"
|
||||||
#include "playlistentrydialog.h"
|
#include "playlistentrydialog.h"
|
||||||
|
|
||||||
|
#ifndef CXX_BUILD
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <file/file_path.h>
|
#include <file/file_path.h>
|
||||||
#include <file/archive_file.h>
|
#include <file/archive_file.h>
|
||||||
#include <lists/string_list.h>
|
#include <lists/string_list.h>
|
||||||
@ -27,7 +30,10 @@ extern "C" {
|
|||||||
#include "../../../configuration.h"
|
#include "../../../configuration.h"
|
||||||
#include "../../../core_info.h"
|
#include "../../../core_info.h"
|
||||||
#include "../../../verbosity.h"
|
#include "../../../verbosity.h"
|
||||||
|
|
||||||
|
#ifndef CXX_BUILD
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
PlaylistModel::PlaylistModel(QObject *parent)
|
PlaylistModel::PlaylistModel(QObject *parent)
|
||||||
: QAbstractListModel(parent)
|
: QAbstractListModel(parent)
|
||||||
|
@ -19,7 +19,10 @@
|
|||||||
#include "shaderparamsdialog.h"
|
#include "shaderparamsdialog.h"
|
||||||
#include "../ui_qt.h"
|
#include "../ui_qt.h"
|
||||||
|
|
||||||
|
#ifndef CXX_BUILD
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <string/stdstring.h>
|
#include <string/stdstring.h>
|
||||||
#include <streams/file_stream.h>
|
#include <streams/file_stream.h>
|
||||||
#include <file/file_path.h>
|
#include <file/file_path.h>
|
||||||
@ -29,7 +32,10 @@ extern "C" {
|
|||||||
#include "../../../paths.h"
|
#include "../../../paths.h"
|
||||||
#include "../../../file_path_special.h"
|
#include "../../../file_path_special.h"
|
||||||
#include "../../../menu/menu_shader.h"
|
#include "../../../menu/menu_shader.h"
|
||||||
|
|
||||||
|
#ifndef CXX_BUILD
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
enum
|
enum
|
||||||
{
|
{
|
||||||
|
@ -4,9 +4,15 @@
|
|||||||
#include <QDialog>
|
#include <QDialog>
|
||||||
#include <QPointer>
|
#include <QPointer>
|
||||||
|
|
||||||
|
#ifndef CXX_BUILD
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "../.././gfx/video_shader_parse.h"
|
#include "../.././gfx/video_shader_parse.h"
|
||||||
|
|
||||||
|
#ifndef CXX_BUILD
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
class QCloseEvent;
|
class QCloseEvent;
|
||||||
class QResizeEvent;
|
class QResizeEvent;
|
||||||
|
@ -4,7 +4,10 @@
|
|||||||
|
|
||||||
#include "../ui_qt.h"
|
#include "../ui_qt.h"
|
||||||
|
|
||||||
|
#ifndef CXX_BUILD
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <string/stdstring.h>
|
#include <string/stdstring.h>
|
||||||
#include <streams/file_stream.h>
|
#include <streams/file_stream.h>
|
||||||
#include <file/archive_file.h>
|
#include <file/archive_file.h>
|
||||||
@ -13,7 +16,10 @@ extern "C" {
|
|||||||
#include "../../../config.def.h"
|
#include "../../../config.def.h"
|
||||||
#include "../../../configuration.h"
|
#include "../../../configuration.h"
|
||||||
#include "../../../version.h"
|
#include "../../../version.h"
|
||||||
|
|
||||||
|
#ifndef CXX_BUILD
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#undef USER_AGENT
|
#undef USER_AGENT
|
||||||
#define USER_AGENT "RetroArch-WIMP/" PACKAGE_VERSION
|
#define USER_AGENT "RetroArch-WIMP/" PACKAGE_VERSION
|
||||||
|
@ -4,7 +4,10 @@
|
|||||||
|
|
||||||
#include "../ui_qt.h"
|
#include "../ui_qt.h"
|
||||||
|
|
||||||
|
#ifndef CXX_BUILD
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <string/stdstring.h>
|
#include <string/stdstring.h>
|
||||||
#include <streams/file_stream.h>
|
#include <streams/file_stream.h>
|
||||||
#include <file/archive_file.h>
|
#include <file/archive_file.h>
|
||||||
@ -13,7 +16,10 @@ extern "C" {
|
|||||||
#include "../../../config.def.h"
|
#include "../../../config.def.h"
|
||||||
#include "../../../configuration.h"
|
#include "../../../configuration.h"
|
||||||
#include "../../../version.h"
|
#include "../../../version.h"
|
||||||
|
|
||||||
|
#ifndef CXX_BUILD
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#undef TEMP_EXTENSION
|
#undef TEMP_EXTENSION
|
||||||
#define USER_AGENT "RetroArch-WIMP/" PACKAGE_VERSION
|
#define USER_AGENT "RetroArch-WIMP/" PACKAGE_VERSION
|
||||||
|
@ -17,7 +17,10 @@
|
|||||||
#include <QApplication>
|
#include <QApplication>
|
||||||
#include <QAbstractEventDispatcher>
|
#include <QAbstractEventDispatcher>
|
||||||
|
|
||||||
|
#ifndef CXX_BUILD
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "../../ui_companion_driver.h"
|
#include "../../ui_companion_driver.h"
|
||||||
#include "../../../retroarch.h"
|
#include "../../../retroarch.h"
|
||||||
#include "../../../verbosity.h"
|
#include "../../../verbosity.h"
|
||||||
@ -28,7 +31,10 @@ extern "C" {
|
|||||||
#ifdef Q_OS_UNIX
|
#ifdef Q_OS_UNIX
|
||||||
#include <locale.h>
|
#include <locale.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef CXX_BUILD
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "../ui_qt.h"
|
#include "../ui_qt.h"
|
||||||
|
|
||||||
@ -174,7 +180,7 @@ static void ui_application_qt_run(void *args)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifdef HAVE_MAIN
|
#ifdef HAVE_MAIN
|
||||||
#ifdef __cplusplus
|
#if defined(__cplusplus) && !defined(CXX_BUILD)
|
||||||
extern "C"
|
extern "C"
|
||||||
#endif
|
#endif
|
||||||
int main(int argc, char *argv[])
|
int main(int argc, char *argv[])
|
||||||
|
@ -20,7 +20,10 @@
|
|||||||
#include <QFileDialog>
|
#include <QFileDialog>
|
||||||
#include <QDesktopWidget>
|
#include <QDesktopWidget>
|
||||||
|
|
||||||
|
#ifndef CXX_BUILD
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "../../../core_info.h"
|
#include "../../../core_info.h"
|
||||||
#include "../../../verbosity.h"
|
#include "../../../verbosity.h"
|
||||||
#include "../../../configuration.h"
|
#include "../../../configuration.h"
|
||||||
@ -31,7 +34,10 @@ extern "C" {
|
|||||||
#include <string/stdstring.h>
|
#include <string/stdstring.h>
|
||||||
#include <file/file_path.h>
|
#include <file/file_path.h>
|
||||||
#include <retro_miscellaneous.h>
|
#include <retro_miscellaneous.h>
|
||||||
|
|
||||||
|
#ifndef CXX_BUILD
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#define CORE_NAME_COLUMN 0
|
#define CORE_NAME_COLUMN 0
|
||||||
#define CORE_VERSION_COLUMN 1
|
#define CORE_VERSION_COLUMN 1
|
||||||
|
@ -18,9 +18,15 @@
|
|||||||
#ifndef _QT_LOAD_CORE_WINDOW_H
|
#ifndef _QT_LOAD_CORE_WINDOW_H
|
||||||
#define _QT_LOAD_CORE_WINDOW_H
|
#define _QT_LOAD_CORE_WINDOW_H
|
||||||
|
|
||||||
|
#ifndef CXX_BUILD
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <retro_common_api.h>
|
#include <retro_common_api.h>
|
||||||
|
|
||||||
|
#ifndef CXX_BUILD
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <QtWidgets>
|
#include <QtWidgets>
|
||||||
|
|
||||||
|
@ -49,7 +49,10 @@
|
|||||||
#include "playlistentrydialog.h"
|
#include "playlistentrydialog.h"
|
||||||
#include "viewoptionsdialog.h"
|
#include "viewoptionsdialog.h"
|
||||||
|
|
||||||
|
#ifndef CXX_BUILD
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "../../../version.h"
|
#include "../../../version.h"
|
||||||
#include "../../../verbosity.h"
|
#include "../../../verbosity.h"
|
||||||
#include "../../../retroarch.h"
|
#include "../../../retroarch.h"
|
||||||
@ -76,7 +79,10 @@ extern "C" {
|
|||||||
#include <openssl/ssl.h>
|
#include <openssl/ssl.h>
|
||||||
#include <openssl/opensslv.h>
|
#include <openssl/opensslv.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef CXX_BUILD
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "../../../AUTHORS.h"
|
#include "../../../AUTHORS.h"
|
||||||
|
|
||||||
|
@ -4,14 +4,20 @@
|
|||||||
|
|
||||||
#include "../ui_qt.h"
|
#include "../ui_qt.h"
|
||||||
|
|
||||||
|
#ifndef CXX_BUILD
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <string/stdstring.h>
|
#include <string/stdstring.h>
|
||||||
#include <streams/file_stream.h>
|
#include <streams/file_stream.h>
|
||||||
#include <file/archive_file.h>
|
#include <file/archive_file.h>
|
||||||
#include "../../../tasks/tasks_internal.h"
|
#include "../../../tasks/tasks_internal.h"
|
||||||
#include "../../../verbosity.h"
|
#include "../../../verbosity.h"
|
||||||
#include "../../../config.def.h"
|
#include "../../../config.def.h"
|
||||||
|
|
||||||
|
#ifndef CXX_BUILD
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#define USER_AGENT "RetroArch-WIMP/1.0"
|
#define USER_AGENT "RetroArch-WIMP/1.0"
|
||||||
#define PARTIAL_EXTENSION ".partial"
|
#define PARTIAL_EXTENSION ".partial"
|
||||||
|
@ -14,9 +14,15 @@
|
|||||||
#include "viewoptionsdialog.h"
|
#include "viewoptionsdialog.h"
|
||||||
#include "../ui_qt.h"
|
#include "../ui_qt.h"
|
||||||
|
|
||||||
|
#ifndef CXX_BUILD
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "../../../msg_hash.h"
|
#include "../../../msg_hash.h"
|
||||||
|
|
||||||
|
#ifndef CXX_BUILD
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
ViewOptionsDialog::ViewOptionsDialog(MainWindow *mainwindow, QWidget *parent) :
|
ViewOptionsDialog::ViewOptionsDialog(MainWindow *mainwindow, QWidget *parent) :
|
||||||
QDialog(mainwindow)
|
QDialog(mainwindow)
|
||||||
|
@ -14,7 +14,10 @@
|
|||||||
* If not, see <http://www.gnu.org/licenses/>.
|
* If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef CXX_BUILD
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <file/file_path.h>
|
#include <file/file_path.h>
|
||||||
#include <string/stdstring.h>
|
#include <string/stdstring.h>
|
||||||
|
|
||||||
@ -29,7 +32,10 @@ extern "C" {
|
|||||||
#include "../../verbosity.h"
|
#include "../../verbosity.h"
|
||||||
#include "../../msg_hash.h"
|
#include "../../msg_hash.h"
|
||||||
#include "../../tasks/tasks_internal.h"
|
#include "../../tasks/tasks_internal.h"
|
||||||
|
|
||||||
|
#ifndef CXX_BUILD
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "ui_qt.h"
|
#include "ui_qt.h"
|
||||||
#include "qt/filedropwidget.h"
|
#include "qt/filedropwidget.h"
|
||||||
|
@ -43,13 +43,19 @@
|
|||||||
#include <QSortFilterProxyModel>
|
#include <QSortFilterProxyModel>
|
||||||
#include <QDir>
|
#include <QDir>
|
||||||
|
|
||||||
|
#ifndef CXX_BUILD
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <retro_assert.h>
|
#include <retro_assert.h>
|
||||||
#include <retro_common_api.h>
|
#include <retro_common_api.h>
|
||||||
#include <queues/task_queue.h>
|
#include <queues/task_queue.h>
|
||||||
#include "../ui_companion_driver.h"
|
#include "../ui_companion_driver.h"
|
||||||
#include "../../gfx/video_driver.h"
|
#include "../../gfx/video_driver.h"
|
||||||
|
|
||||||
|
#ifndef CXX_BUILD
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#define ALL_PLAYLISTS_TOKEN "|||ALL|||"
|
#define ALL_PLAYLISTS_TOKEN "|||ALL|||"
|
||||||
#define ICON_PATH "/xmb/dot-art/png/"
|
#define ICON_PATH "/xmb/dot-art/png/"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user