Library::Subcategories Struct Reference

Detailed Description

Utility class to organize a library in subcategories that depend on a file organization on disk, e.g. if it looks for .dsp files, it will create a subcategory for each folder which contains .dsp files.

Public Member Functions

void init (const QModelIndex &idx, const score::ApplicationContext &ctx)
 
void add (const QFileInfo &file, Library::ProcessData &&pdata)
 
void add (const score::PathInfo &file, Library::ProcessData &&pdata)
 

Public Attributes

Library::ProcessNodeparent {}
 
QDir libraryFolder
 
std::string libraryFolderPath {}
 
ossia::hash_map< QString, Library::ProcessNode * > categories
 

The documentation for this struct was generated from the following file: