diff options
Diffstat (limited to 'src/variable.h')
-rw-r--r-- | src/variable.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/variable.h b/src/variable.h index 1b5542e..c8679a8 100644 --- a/src/variable.h +++ b/src/variable.h | |||
@@ -2,12 +2,15 @@ | |||
2 | #define VARIABLE_H | 2 | #define VARIABLE_H |
3 | 3 | ||
4 | #include "types.h" | 4 | #include "types.h" |
5 | #include <bu/archivebase.h> | ||
5 | 6 | ||
6 | /** | 7 | /** |
7 | * A build variable, which is basically a flexible, limited type range variant. | 8 | * A build variable, which is basically a flexible, limited type range variant. |
8 | */ | 9 | */ |
9 | class Variable | 10 | class Variable |
10 | { | 11 | { |
12 | friend Bu::ArchiveBase &operator<<( Bu::ArchiveBase &ar, const Variable &v ); | ||
13 | friend Bu::ArchiveBase &operator>>( Bu::ArchiveBase &ar, Variable &v ); | ||
11 | public: | 14 | public: |
12 | enum Type | 15 | enum Type |
13 | { | 16 | { |
@@ -112,4 +115,7 @@ namespace Bu | |||
112 | Bu::Formatter &operator<<( Bu::Formatter &f, const Variable::Type &t ); | 115 | Bu::Formatter &operator<<( Bu::Formatter &f, const Variable::Type &t ); |
113 | Bu::Formatter &operator<<( Bu::Formatter &f, const Variable &v ); | 116 | Bu::Formatter &operator<<( Bu::Formatter &f, const Variable &v ); |
114 | 117 | ||
118 | Bu::ArchiveBase &operator<<( Bu::ArchiveBase &ar, const Variable &v ); | ||
119 | Bu::ArchiveBase &operator>>( Bu::ArchiveBase &ar, Variable &v ); | ||
120 | |||
115 | #endif | 121 | #endif |