Skip to content


Subversion checkout URL

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

Cannot retrieve contributors at this time

62 lines (47 sloc) 1.66 KB
* Copyright (C) 2009, Alexander Stigsen,
* This software is licensed under the Open Company License as described
* in the file license.txt, which you should have received as part of this
* distribution. The terms are also available at
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
* KIND, either express or implied.
#ifndef __PROJECTINFO_H__
#define __PROJECTINFO_H__
#include "wx/wxprec.h"
#ifndef WX_PRECOMP
#include <wx/wx.h>
#include <map>
class wxFileName;
class cxProjectInfo {
cxProjectInfo(const cxProjectInfo& info);
cxProjectInfo(const wxFileName& rootPath, const wxString& path, bool onlyFilters);
void Clear();
void ClearFilters();
void SetFilters(const wxArrayString& ind, const wxArrayString& exd, const wxArrayString& inf, const wxArrayString& exf);
bool Load(const wxFileName& rootPath, const wxString& path, bool onlyFilters);
void Save(const wxString& rootPath) const;
bool IsEmpty() const;
bool IsFileIncluded(const wxString& file_name) const;
bool IsDirectoryIncluded(const wxString& dir_name) const;
bool IsRoot() const { return isRoot; }
bool HasFilters() const { return hasFilters; }
wxString path;
wxArrayString includeDirs;
wxArrayString excludeDirs;
wxArrayString includeFiles;
wxArrayString excludeFiles;
std::map<wxString, wxString> env;
std::map<wxString, wxString> triggers;
bool isRoot;
bool hasFilters;
#endif // __PROJECTINFO_H__
Jump to Line
Something went wrong with that request. Please try again.