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
12 #if !defined WIN32_LEAN_AND_MEAN
13 # define WIN32_LEAN_AND_MEAN
19 #endif // defined( WNT )
23 typedef std::set
<std::string
> DirContent
;
24 typedef std::map
<std::string
, DirContent
> DirMap
;
25 typedef DirMap::value_type EntriesPair
;
26 typedef std::pair
<std::string
, std::string
> PathFilePair
;
29 struct IncludesCollection
{
32 static PathFilePair
split_path(const std::string
& filePath
);
33 void add_to_collection(const std::string
& dirPath
);
36 bool exists(std::string filePath
);
41 struct IncludesCollection
;
45 #if defined __cplusplus
49 struct IncludesCollection
* create_IncludesCollection(void);
50 void delete_IncludesCollection(struct IncludesCollection
*);
52 int call_IncludesCollection_exists(struct IncludesCollection
* m
, const char* filePath
);
54 #if defined __cplusplus
60 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */