Use forward declaration in libvideo

This commit is contained in:
Vsevolod Kremianskii 2021-06-20 13:23:56 +07:00
parent e9bbc08ec3
commit 3482719e4f
4 changed files with 15 additions and 5 deletions

View file

@ -21,6 +21,7 @@
#include "../common/log.h"
#include "../common/guardutil.h"
#include "../common/streamreader.h"
#include "../graphics/services.h"
#include "video.h"

View file

@ -17,11 +17,14 @@
#pragma once
#include "../audio/types.h"
#include "../graphics/services.h"
namespace reone {
namespace graphics {
class GraphicsServices;
}
namespace video {
class Video;

View file

@ -21,6 +21,7 @@
#include "../graphics/context.h"
#include "../graphics/mesh/mesh.h"
#include "../graphics/mesh/meshes.h"
#include "../graphics/services.h"
#include "../graphics/shader/shaders.h"
#include "../graphics/texture/textureutil.h"

View file

@ -17,15 +17,20 @@
#pragma once
#include "../audio/stream.h"
#include "../common/mediastream.h"
#include "../common/types.h"
#include "../graphics/services.h"
namespace reone {
namespace audio {
class AudioStream;
}
namespace graphics {
class GraphicsServices;
class Texture;
}