C and JS interface, untested

This commit is contained in:
msqr1
2024-01-15 23:36:20 -08:00
parent db2acc30be
commit ab8d869dd9
22 changed files with 7862 additions and 1 deletions

12
src/model.h Normal file
View File

@@ -0,0 +1,12 @@
#pragma once
#include "genericModel.h"
class Model : public GenericModel {
bool checkModel(const std::string& path);
public:
VoskModel* model{};
Model(const std::string &url, const std::string& storepath, const std::string& id, int index);
};