diff options
Diffstat (limited to 'cpp/src/FreezeScript/Functions.h')
-rw-r--r-- | cpp/src/FreezeScript/Functions.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/cpp/src/FreezeScript/Functions.h b/cpp/src/FreezeScript/Functions.h new file mode 100644 index 00000000000..0dcb9f272b9 --- /dev/null +++ b/cpp/src/FreezeScript/Functions.h @@ -0,0 +1,31 @@ +// ********************************************************************** +// +// Copyright (c) 2004 +// ZeroC, Inc. +// Billerica, MA, USA +// +// All Rights Reserved. +// +// Ice is free software; you can redistribute it and/or modify it under +// the terms of the GNU General Public License version 2 as published by +// the Free Software Foundation. +// +// ********************************************************************** + +#ifndef FREEZE_SCRIPT_FUNCTIONS_H +#define FREEZE_SCRIPT_FUNCTIONS_H + +#include <FreezeScript/Data.h> + +namespace FreezeScript +{ + +bool invokeGlobalFunction(const std::string&, const DataList&, DataPtr&, const DataFactoryPtr&, + const ErrorReporterPtr&); + +bool invokeMemberFunction(const std::string&, const DataPtr&, const DataList&, DataPtr&, const DataFactoryPtr&, + const ErrorReporterPtr&); + +} + +#endif |