aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/corelib/language/builtinvalue.h
diff options
context:
space:
mode:
authorJake Petroules <jake.petroules@theqtcompany.com>2015-12-02 01:50:01 -0800
committerJake Petroules <jake.petroules@theqtcompany.com>2015-12-03 07:27:26 +0000
commitb38370ed1c7b00b8f7e1ed13b882bde6c73df32f (patch)
tree385694c4b96aaabde819a453347944d82fda98af /src/lib/corelib/language/builtinvalue.h
parentddd37d1b881e02c87ca580336a5f12b4941bb093 (diff)
Partially revert removal of qbs.getEnv and qbs.currentEnv.
This is a partial revert of ddd37d1b881e02c87ca580336a5f12b4941bb093 which re-adds qbs.getEnv and qbs.currentEnv as deprecated functions backed by the new implementation in the Environment extension. They can be removed in a future version of Qbs, tentatively 1.6. Change-Id: I31760d02a3ab4b1bd2cfeb12d89ba6c4681f66bf Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
Diffstat (limited to 'src/lib/corelib/language/builtinvalue.h')
-rw-r--r--src/lib/corelib/language/builtinvalue.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/corelib/language/builtinvalue.h b/src/lib/corelib/language/builtinvalue.h
index a04f4d15f..6734eba54 100644
--- a/src/lib/corelib/language/builtinvalue.h
+++ b/src/lib/corelib/language/builtinvalue.h
@@ -41,6 +41,8 @@ class BuiltinValue : public Value
public:
enum Builtin
{
+ GetEnvFunction,
+ CurrentEnvFunction
};
static BuiltinValuePtr create(Builtin builtin);