27#ifndef BOM_GENERATOR_HANDLERS_H
28#define BOM_GENERATOR_HANDLERS_H
32#include <wx/filename.h>
141 wxString
readHeader(
const wxString& aEndSection );
Bill of material output generator.
const wxString & GetInfo() const
Return plugin description stored in the plugin header file (if available).
wxString m_name
Command to execute the plugin.
const wxFileName & GetFile() const
Return the file name of the plugin.
static bool IsValidGenerator(const wxString &aFile)
Return true if a file name matches a recognized plugin format.
wxString readHeader(const wxString &aEndSection)
Read the plugin file header.
bool m_isOk
Path to the plugin.
void SetName(const wxString &aName)
Set the customisable plugin name.
wxString m_info
Plugin specific options.
bool IsOk()
Return true if the plugin is ready to work, i.e.
wxArrayString & Options()
Accessor to array of options.
wxString GetStoredPath() const
const wxString & GetName() const
Return the customisable plugin name.
wxFileName m_file
Path to the plugin stored in config (can be absolute or just a filename)
const wxString m_storedPath
User customisable name.
void SetCommand(const wxString &aCommand)
Set the command to execute the plugin.
wxString m_cmd
Description of the plugin (normally from the plugin header)
wxFileName FindFilePath() const
Returns the calculated path to the plugin: if the path is already absolute and exists,...
const wxString & GetCommand() const
Return the command to execute the plugin.
static wxString getOutputExtension(const wxString &aHeader)
Extracts the output BOM file's extension, including the '.