1
0
Fork 0
mirror of https://github.com/KingDuckZ/dindexer.git synced 2024-11-25 00:53:43 +00:00

Add missing header file

This commit is contained in:
King_DuckZ 2017-08-18 00:34:47 +01:00
parent 12147df2b4
commit 6047045982

View file

@ -0,0 +1,39 @@
/* Copyright 2015, 2016, Michele Santullo
* This file is part of "dindexer".
*
* "dindexer" is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* "dindexer" is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with "dindexer". If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef id5715FB806F4E4BD1880646F696A9B1F2
#define id5715FB806F4E4BD1880646F696A9B1F2
#include <vector>
namespace mchlib {
struct FileRecordData;
struct FileRecordNode {
FileRecordNode();
explicit FileRecordNode (std::size_t parIdx) : index(parIdx) {}
~FileRecordNode();
std::size_t index;
std::vector<FileRecordNode> children;
//FileRecordNode* parent;
};
std::vector<FileRecordNode> make_filerecord_tree (const std::vector<FileRecordData>& parRecords);
} //namespace mchlib
#endif