104#ifndef PROJECT_TEMPLATE_H
105#define PROJECT_TEMPLATE_H
110#include <wx/filename.h>
122#define METADIR wxT( "meta" )
130#define METAFILE_INFO_HTML wxT( "info.html" )
138#define METAFILE_ICON wxT( "icon.png" )
190 bool CreateProject( wxFileName& aNewProjectPath, wxString* aErrorMsg =
nullptr );
218 std::vector< wxFileName >& aDestFiles );
A class which provides project template functionality.
wxBitmap * GetIcon()
Get the 64px^2 icon for the project template.
size_t GetDestinationFiles(const wxFileName &aNewProjectPath, std::vector< wxFileName > &aDestFiles)
Fetch the list of destination files to be copied when the new project is created.
wxFileName m_metaHtmlFile
std::vector< wxFileName > GetFileList()
Get a vector list of filenames for the template.
~PROJECT_TEMPLATE()
Non-virtual destructor (so no derived classes)
wxFileName GetHtmlFile()
Get the full Html filename for the project template.
wxString * GetTitle()
Get the title of the project (extracted from the html title tag)
bool CreateProject(wxFileName &aNewProjectPath, wxString *aErrorMsg=nullptr)
Copies and renames all template files to create a new project.
wxFileName m_metaIconFile
wxString GetPrjDirName()
Get the dir name of the project template (i.e.