1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 #ifndef INCLUDED_SOLTOOLS_MKDEPEND_COLLECTDIRCONTENT_HXX
3 #define INCLUDED_SOLTOOLS_MKDEPEND_COLLECTDIRCONTENT_HXX
5 #if defined __cplusplus
16 #endif // defined( WNT )
20 typedef std::set
<std::string
> DirContent
;
21 typedef std::map
<std::string
, DirContent
> DirMap
;
22 typedef DirMap::value_type EntriesPair
;
23 typedef std::pair
<std::string
, std::string
> PathFilePair
;
26 struct IncludesCollection
{
29 static PathFilePair
split_path(const std::string
& filePath
);
30 void add_to_collection(const std::string
& dirPath
);
33 bool exists(std::string filePath
);
38 struct IncludesCollection
;
42 #if defined __cplusplus
46 struct IncludesCollection
* create_IncludesCollection(void);
47 void delete_IncludesCollection(struct IncludesCollection
*);
49 int call_IncludesCollection_exists(struct IncludesCollection
* m
, const char* filePath
);
51 #if defined __cplusplus
57 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */