33 lines
529 B
C++
33 lines
529 B
C++
#pragma once
|
|
|
|
#include "lib/utils/bts_export.h"
|
|
#include "lib/api/apicore.pb.h"
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
namespace bts {
|
|
namespace qbus {
|
|
class Quickbus;
|
|
}
|
|
namespace api {
|
|
|
|
typedef qbus::Quickbus Quickbus;
|
|
CAPI Quickbus* api_create_quickbus(const char* qbconfig, long length);
|
|
CAPI void api_destroy_quickbus(Quickbus*);
|
|
|
|
struct StreamUpdate {
|
|
enum Type {
|
|
REMOVE,
|
|
REPLACE,
|
|
CREATE
|
|
};
|
|
Type type;
|
|
int key;
|
|
int buffer_len;
|
|
const char* buffer;
|
|
};
|
|
|
|
// Internal methods
|
|
}}
|