diff options
author | randomdan <randomdan@localhost> | 2013-03-28 20:54:01 +0000 |
---|---|---|
committer | randomdan <randomdan@localhost> | 2013-03-28 20:54:01 +0000 |
commit | 6a89b764831566edde2a77060772de4c4e944856 (patch) | |
tree | a0bfef2f63fd554962514177b9fef0c20d12be36 /project2/common/variables | |
parent | skip 1 shuffle of code out of common (diff) | |
download | project2-6a89b764831566edde2a77060772de4c4e944856.tar.bz2 project2-6a89b764831566edde2a77060772de4c4e944856.tar.xz project2-6a89b764831566edde2a77060772de4c4e944856.zip |
Move pwd out of common into files
Diffstat (limited to 'project2/common/variables')
-rw-r--r-- | project2/common/variables/pwd.cpp | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/project2/common/variables/pwd.cpp b/project2/common/variables/pwd.cpp deleted file mode 100644 index 8a80dd0..0000000 --- a/project2/common/variables/pwd.cpp +++ /dev/null @@ -1,20 +0,0 @@ -#include <pch.hpp> -#include "../variables.h" -#include "../scriptLoader.h" -#include <boost/filesystem/operations.hpp> - -/// Variable implementation to access session contents -class Pwd : public VariableImplDyn { - public: - Pwd(ScriptNodePtr e) : - VariableImplDyn(e) - { - } - VariableType value() const - { - return boost::filesystem::current_path().string(); - } -}; -DECLARE_COMPONENT_LOADER("pwd", Pwd, VariableLoader); - - |