aboutsummaryrefslogtreecommitdiff
path: root/src/filetarget.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/filetarget.h')
-rw-r--r--src/filetarget.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/filetarget.h b/src/filetarget.h
index c872c0a..856e854 100644
--- a/src/filetarget.h
+++ b/src/filetarget.h
@@ -2,6 +2,10 @@
2#define FILE_TARGET_H 2#define FILE_TARGET_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#include "target.h" 9#include "target.h"
6 10
7class FileTarget : public Target 11class FileTarget : public Target
@@ -16,9 +20,12 @@ public:
16 20
17 virtual void check( class Builder &bld ); 21 virtual void check( class Builder &bld );
18 virtual void clean( class Builder &bld ); 22 virtual void clean( class Builder &bld );
23
24 time_t getTime( std::string str );
25 void updateTime( std::string str );
19 26
20private: 27private:
21 // start here with the file time cache 28 std::map<std::string, time_t> mTimes;
22 29
23}; 30};
24 31