[host] added option parsing to application

This commit is contained in:
Geoffrey McRae
2017-11-16 20:53:22 +11:00
parent 71c6e5d317
commit 6eb40a1897
15 changed files with 462 additions and 94 deletions

View File

@@ -19,6 +19,7 @@ Place, Suite 330, Boston, MA 02111-1307 USA
#pragma once
#include "common/KVMGFXHeader.h"
#include <vector>
struct FrameInfo
{
@@ -30,10 +31,14 @@ struct FrameInfo
size_t outSize;
};
typedef std::vector<const char *> CaptureOptions;
__interface ICapture
{
public:
bool Initialize();
const char * GetName();
bool Initialize(CaptureOptions * options);
void DeInitialize();
enum FrameType GetFrameType();
enum FrameComp GetFrameCompression();