mirror of
https://github.com/Almamu/linux-wallpaperengine.git
synced 2025-07-14 13:22:23 +08:00
33 lines
551 B
C++
33 lines
551 B
C++
#pragma once
|
|
|
|
#include "Core.h"
|
|
#include "CWallpaper.h"
|
|
|
|
extern "C"
|
|
{
|
|
#include <libavcodec/avcodec.h>
|
|
#include <libavformat/avformat.h>
|
|
#include <libavutil/imgutils.h>
|
|
#include <libswscale/swscale.h>
|
|
}
|
|
|
|
namespace WallpaperEngine::Core
|
|
{
|
|
class CVideo : public CWallpaper
|
|
{
|
|
public:
|
|
explicit CVideo (std::string filename);
|
|
|
|
const std::string& getFilename ();
|
|
|
|
protected:
|
|
friend class CWallpaper;
|
|
|
|
const std::string m_filename;
|
|
|
|
static const std::string Type;
|
|
|
|
private:
|
|
};
|
|
}
|