Add actual data structures

This commit is contained in:
TheAssassin
2018-11-09 00:57:06 +01:00
parent b4efb2bc56
commit 78e5d0858e

View File

@@ -11,9 +11,16 @@
namespace bf = boost::filesystem;
// describes a single section
typedef std::unordered_map<std::string, DesktopFileEntry> section_t;
// describes all sections in the desktop file
typedef std::unordered_map<std::string, section_t> sections_t;
class DesktopFileReader::PrivateData {
public:
bf::path path;
sections_t sections;
public:
bool isEmpty() {