Initial community commit

This commit is contained in:
Jef
2024-09-24 14:54:57 +02:00
parent 537bcbc862
commit 20d28e80a5
16810 changed files with 4640254 additions and 2 deletions
+44
View File
@@ -0,0 +1,44 @@
#ifndef NULLSOT_LOCALMEDIA_METARECORD_H
#define NULLSOT_LOCALMEDIA_METARECORD_H
#include <map>
#include <vector>
#include <string>
// Links db record to the metadata struct
typedef struct
{
int dbColumnId;
char *recordKey;
} LM_RECORD_LINK;
// cache size (records count)
#define CACHE_SIZE 100;
class MetaData
{
// construcotrs
public:
MetaData();
~MetaData();
// methods
private:
// gets record data from db to the cache
int GetDbColumnsCount();
void GetDBRecordToCache(int64 recordId);
public:
// returns pointer to metadata
const char* GetMetaData(const char *metaKey);
// fields
private:
}
#endif //NULLSOT_LOCALMEDIA_METARECORD_H