Debian Codegraph @

CodeLite/include_finder.h

raw
1 //////////////////////////////////////////////////////////////////////////////
2 //////////////////////////////////////////////////////////////////////////////
3 //
4 // copyright : (C) 2009 by Eran Ifrah
5 // file name : include_finder.h
6 //
7 // -------------------------------------------------------------------------
8 // A
9 // _____ _ _ _ _
10 // / __ \ | | | | (_) |
11 // | / \/ ___ __| | ___| | _| |_ ___
12 // | | / _ \ / _ |/ _ \ | | | __/ _ )
13 // | \__/\ (_) | (_| | __/ |___| | || __/
14 // \____/\___/ \__,_|\___\_____/_|\__\___|
15 //
16 // F i l e
17 //
18 // This program is free software; you can redistribute it and/or modify
19 // it under the terms of the GNU General Public License as published by
20 // the Free Software Foundation; either version 2 of the License, or
21 // (at your option) any later version.
22 //
23 //////////////////////////////////////////////////////////////////////////////
24 //////////////////////////////////////////////////////////////////////////////
25
26 #ifndef INCLUDE_FINDER_H
27 #define INCLUDE_FINDER_H
28
29 #include <vector>
30 #include <string>
31 #include "codelite_exports.h"
32
33 class WXDLLIMPEXP_CL IncludeStatement {
34 public:
35 std::string file;
36 int line;
37 std::string includedFrom;
38 std::string pattern;
39 };
40
41 extern WXDLLIMPEXP_CL int IncludeFinder( const char* filePath, std::vector<IncludeStatement> &includes );
42
43 #endif