Skip to content


Subversion checkout URL

You can clone with
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

43 lines (31 sloc) 1.211 kb
#include "wx/wxprec.h"
#ifndef WX_PRECOMP
#include <wx/wx.h>
#include <map>
#include <wx/filename.h>
#include "ProjectInfo.h"
class ProjectInfoHandler {
void SetRoot(const wxFileName& path);
const wxFileName& GetRoot() const {return m_prjPath;};
bool HasProject() const {return m_prjPath.IsOk();};
// Root info
const cxProjectInfo& GetRootInfo() const {return m_projectInfo;};
void SaveRootInfo() const;
bool GetDirAndFileLists(const wxString& path, wxArrayString& dirs, wxArrayString& files) const;
// Filters
void GetFilters(const wxString& path, wxArrayString& incDirs, wxArrayString& excDirs, wxArrayString& incFiles, wxArrayString& excFiles) const;
static bool MatchFilter(const wxString& name, const wxArrayString& incFilter, const wxArrayString& excFilter);
// GotoFile triggers
const std::map<wxString,wxString>& GetTriggers() const {return m_projectInfo.triggers;};
void SetTrigger(const wxString& trigger, const wxString& path);
void ClearTrigger(const wxString& trigger);
// Member variables
wxFileName m_prjPath;
cxProjectInfo m_projectInfo;
Jump to Line
Something went wrong with that request. Please try again.