cbp2make
Makefile generation tool for Code::Blocks IDE
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
cbhelper.h
Go to the documentation of this file.
1 /*
2  cbp2make : Makefile generation tool for the Code::Blocks IDE
3  Copyright (C) 2010-2013 Mirai Computing (mirai.computing@gmail.com)
4 
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 3 of the License, or
8  (at your option) any later version.
9 
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.
14 
15  You should have received a copy of the GNU General Public License
16  along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18 
19 //------------------------------------------------------------------------------
20 #ifndef CBHELPER_H
21 #define CBHELPER_H
22 //------------------------------------------------------------------------------
23 #include "stlstrings.h"
24 //------------------------------------------------------------------------------
25 
26 static const int CASE_KEEP = 0;
27 static const int CASE_LOWER = 1;
28 static const int CASE_UPPER = 2;
29 
30 static const int QUOTE_AUTO = 0;
31 static const int QUOTE_NEVER = 1;
32 static const int QUOTE_ALWAYS = 2;
33 
34 void ShowStringList(const CString& Title, const CString& LinePrefix,
35  const CStringList& StringList);
36 CString MakefileFriendly(const CString& AString);
37 CString XMLFriendly(const CString& AString);
38 CString FlatFileName(const CString& FileName);
39 
40 #endif
41 //------------------------------------------------------------------------------