27#include <wx/filedlg.h>
47 m_files = getModel<EDA_ITEM>()->GetEmbeddedFiles();
55 m_files = getModel<EDA_ITEM>()->GetEmbeddedFiles();
77 std::vector<wxString> list;
81 list.push_back(
name );
static TOOL_ACTION removeFile
Cursor control event types.
static TOOL_ACTION embeddedFiles
void RemoveFile(const wxString &name, bool aErase=true)
Removes a file from the collection and frees the memory.
EMBEDDED_FILE * AddFile(const wxFileName &aName, bool aOverwrite)
Loads a file from disk and adds it to the collection.
const std::map< wxString, EMBEDDED_FILE * > & EmbeddedFileMap() const