aboutsummaryrefslogtreecommitdiff
path: root/src/targetfile.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/targetfile.h')
-rw-r--r--src/targetfile.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/targetfile.h b/src/targetfile.h
index 37e6770..368e252 100644
--- a/src/targetfile.h
+++ b/src/targetfile.h
@@ -2,6 +2,10 @@
2#define TARGET_FILE_H 2#define TARGET_FILE_H
3 3
4#include <stdint.h> 4#include <stdint.h>
5#include <map>
6#include <sys/types.h>
7#include <sys/stat.h>
8#include <unistd.h>
5 9
6#include "target.h" 10#include "target.h"
7 11
@@ -14,8 +18,11 @@ public:
14 virtual void check( Build &bld ); 18 virtual void check( Build &bld );
15 virtual void clean( Build &bld ); 19 virtual void clean( Build &bld );
16 20
17private: 21 time_t getTime( class Build &bld, std::string str );
22 void updateTime( std::string str );
18 23
24private:
25 std::map<std::string, time_t> mTimes;
19}; 26};
20 27
21#endif 28#endif