File: file_data_util.hpp

package info (click to toggle)
aspell 0.60.6-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 10,000 kB
  • ctags: 4,862
  • sloc: sh: 48,145; cpp: 22,153; perl: 1,546; ansic: 1,535; makefile: 684; sed: 16
file content (20 lines) | stat: -rw-r--r-- 604 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef aspeller_file_data_util__hh
#define aspeller_file_data_util__hh

#include "parm_string.hpp"

namespace acommon {class Config;}

namespace acommon {

  void fill_data_dir(const Config *, String & dir1, String & dir2);
  const String & find_file(String & path,
                           const String & dir1, const String & dir2, 
                           const String & name, const char * extension);
  bool find_file(String & file,
                 const String & dir1, const String & dir2, 
                 const String & name, 
                 ParmString preext, ParmString ext);
}

#endif