From c654793a3a513a9c8ffcd1aa9c3962b6a72e61bd Mon Sep 17 00:00:00 2001 From: Andreas Stöckel Date: Mon, 20 Oct 2014 23:22:56 +0000 Subject: started to implement Function class which represents functions and methods, both on the host and the client side git-svn-id: file:///var/local/svn/basicwriter@73 daaaf23c-2e50-4459-9457-1e69db5a47bf --- src/core/script/Function.cpp | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 src/core/script/Function.cpp (limited to 'src/core/script/Function.cpp') diff --git a/src/core/script/Function.cpp b/src/core/script/Function.cpp new file mode 100644 index 0000000..d72df4c --- /dev/null +++ b/src/core/script/Function.cpp @@ -0,0 +1,31 @@ +/* + Ousía + Copyright (C) 2014, 2015 Benjamin Paaßen, Andreas Stöckel + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . +*/ + +#include "Function.hpp" + +namespace ousia { +namespace script { + +std::pair> validate(const std::vector &args) +{ + return std::make_pair(true, std::vector{}); +} + +} +} + -- cgit v1.2.3