1
0
Fork 0
mirror of https://github.com/KingDuckZ/dindexer.git synced 2025-08-08 13:49:47 +00:00

Detect content type after scanning and save to DB.

This commit is contained in:
King_DuckZ 2016-02-22 19:44:48 +01:00
parent 2e77e4dc0b
commit 22614432a9
9 changed files with 141 additions and 36 deletions

View file

@ -73,15 +73,15 @@ namespace mchlib {
bool hash_valid;
};
struct SetRecordDataFull {
std::string name;
uint32_t disk_number;
struct SetRecordData {
boost::string_ref name;
char type;
char content_type;
};
struct SetRecordData {
const boost::string_ref name;
const char type;
struct SetRecordDataFull : public SetRecordData {
std::string name;
uint32_t disk_number;
};
} //namespace mchlib