00001 #ifndef SGE_CONSOLE_STDLIB_HPP_INCLUDED 00002 #define SGE_CONSOLE_STDLIB_HPP_INCLUDED 00003 00004 #include "arg_list.hpp" 00005 #include "../string.hpp" 00006 #include "../export.hpp" 00007 #include <boost/function.hpp> 00008 00009 namespace sge 00010 { 00011 namespace con 00012 { 00013 00014 struct stdlib 00015 { 00016 typedef boost::function<void (const sge::string &)> callback_type; 00017 00018 callback_type print; 00019 00020 SGE_SYMBOL void set(const arg_list &); 00021 SGE_SYMBOL void get(const arg_list &); 00022 SGE_SYMBOL void help(const arg_list &); 00023 SGE_SYMBOL void listvars(const arg_list &); 00024 SGE_SYMBOL void listfuncs(const arg_list &); 00025 SGE_SYMBOL void latch(const arg_list &); 00026 00027 SGE_SYMBOL explicit stdlib(const callback_type &); 00028 }; 00029 00030 } 00031 } 00032 00033 #endif
1.5.5