From 9d99755d4fc9420886f2e28445f5b82cea1cf79d Mon Sep 17 00:00:00 2001 From: Vitor Kiguchi <vitor-kiguchi@hotmail.com> Date: Mon, 17 Aug 2020 19:18:37 -0300 Subject: [PATCH] configure_camera: forward declare CameraInterface --- src/citra_qt/configuration/configure_camera.cpp | 3 ++- src/citra_qt/configuration/configure_camera.h | 9 +++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/citra_qt/configuration/configure_camera.cpp b/src/citra_qt/configuration/configure_camera.cpp index 7ecb3c9cb..80206201f 100644 --- a/src/citra_qt/configuration/configure_camera.cpp +++ b/src/citra_qt/configuration/configure_camera.cpp @@ -2,7 +2,6 @@ // Licensed under GPLv2 or any later version // Refer to the license.txt file included. -#include <memory> #include <QCameraInfo> #include <QDirIterator> #include <QFileDialog> @@ -12,6 +11,8 @@ #include "citra_qt/configuration/configure_camera.h" #include "citra_qt/uisettings.h" #include "core/core.h" +#include "core/frontend/camera/factory.h" +#include "core/frontend/camera/interface.h" #include "core/settings.h" #include "ui_configure_camera.h" diff --git a/src/citra_qt/configuration/configure_camera.h b/src/citra_qt/configuration/configure_camera.h index 739297a8d..da89f8f07 100644 --- a/src/citra_qt/configuration/configure_camera.h +++ b/src/citra_qt/configuration/configure_camera.h @@ -4,8 +4,13 @@ #pragma once -#include "core/frontend/camera/factory.h" -#include "core/frontend/camera/interface.h" +#include <memory> +#include <array> +#include <string> + +namespace Camera { +class CameraInterface; +} namespace Ui { class ConfigureCamera;