2 * Copyright (C) 2005 Trevor McCort
3 * Copyright (C) 2005 Casper S. Hornstrup
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
26 #include "../backend.h"
35 class DevCppBackend
: public Backend
39 DevCppBackend(Project
&project
,
40 Configuration
& configuration
);
41 virtual ~DevCppBackend() {}
43 virtual void Process();
47 void ProcessModules();
48 void ProcessFile(std::string
&filename
);
50 bool CheckFolderAdded(std::string
&folder
);
51 void AddFolders(std::string
&folder
);
54 void OutputFileUnits();
56 std::vector
<FileUnit
> m_fileUnits
;
57 std::vector
<std::string
> m_folders
;
61 std::ofstream m_devFile
;
64 #endif // __DEVCPP_H__