All Classes Namespaces Functions Variables Enumerations Enumerator Modules Pages
Public Member Functions | List of all members
FileNameImporterDialog Class Reference

Inherits Component, LabelListener, and ButtonListener.

Public Member Functions

void setSeparator (String separator)
 
void fillDataList (SampleImporter::SampleCollection &collection, const int startIndex) const
 

Detailed Description

[Comments]

You have to specify a seperator character and it divides the file name and shows a FileNamePartComponent for all detected tokens.

You can import and export the panel settings (it copies an XML string into the clipboard so you can do whatever you need to do with it)
to save some time when importing multiple but similar file selections.

Member Function Documentation

void fillDataList ( SampleImporter::SampleCollection &  collection,
const int  startIndex 
) const
inline

Fills the supplied list with the data. Call this function whenever you have set up all token panels.

Parameters
dataLista reference to an array of SampleImporter::SamplerSoundBasicData which will be filled (it will be cleared automatically.)
startIndexthe offset for the indexes (they will be incremented with each file.
void setSeparator ( String  separator)
inline

set the separator character. Multiple characters are not allowed.

©2017 HISE. This documentation is autogenerated from the HISE source code using Doxygen.