File Import

- Added format identifier code for task 1.4.3, task 1.5.0, todo.sh
  2.0 and CSV.
- Implemented import for type text.
- Implemented util.cpp:slurp function.
- Gathered sample input files for import testing, and later, unit
  tests.
This commit is contained in:
Paul Beckingham
2009-03-26 00:41:15 -04:00
parent db7b2dd9fe
commit 99dc72f26f
8 changed files with 239 additions and 24 deletions

View File

@@ -139,6 +139,8 @@ std::string expandPath (const std::string&);
int flock (int, int);
#endif
bool slurp (const std::string&, std::vector <std::string>&, bool trimLines = false);
// rules.cpp
void initializeColorRules (Config&);
void autoColorize (T&, Text::color&, Text::color&, Config&);