整理代码
This commit is contained in:
commit
c7b4e178ec
364 changed files with 59691 additions and 0 deletions
41
video/VideoSubsystem.h
Normal file
41
video/VideoSubsystem.h
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
#ifndef __VIDEO_SUBSYSTEM__H__
|
||||
#define __VIDEO_SUBSYSTEM__H__
|
||||
/*
|
||||
*******************************************************************************
|
||||
* INCLUDE
|
||||
*******************************************************************************
|
||||
*/
|
||||
#include "Poco/Util/Application.h"
|
||||
#include "Poco/Util/Subsystem.h"
|
||||
#include "Application.h"
|
||||
#include "util/Subsystem.h"
|
||||
#include <stdarg.h>
|
||||
|
||||
namespace Video
|
||||
{
|
||||
/*
|
||||
*******************************************************************************
|
||||
* CLASS DECLARE
|
||||
*******************************************************************************
|
||||
*/
|
||||
class VideoSubsystem: public Util::Subsystem
|
||||
{
|
||||
public:
|
||||
VideoSubsystem();
|
||||
~VideoSubsystem();
|
||||
|
||||
virtual const char* name() const;
|
||||
|
||||
protected:
|
||||
virtual void initialize(Poco::Util::Application& app) override;
|
||||
virtual void uninitialize();
|
||||
|
||||
protected:
|
||||
#if defined(USING_FFMPEG)
|
||||
static void ffmpegLogCallback(void* ptr, int level, const char* fmt, va_list vl);
|
||||
#endif
|
||||
|
||||
private:
|
||||
};
|
||||
}
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue