- Added some more templates in preparation of the ADD wizards. This will minimize redundant code in the forthcoming methods
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@758 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
parent
4bece17f36
commit
456cef0fd3
2 changed files with 300 additions and 120 deletions
|
@ -37,6 +37,11 @@
|
|||
#include <utility>
|
||||
#include <map>
|
||||
|
||||
namespace sgpem
|
||||
{
|
||||
template <typename T>
|
||||
class CommandParameter;
|
||||
}
|
||||
|
||||
namespace sgpem
|
||||
{
|
||||
|
@ -125,6 +130,8 @@ namespace sgpem
|
|||
bool check_arguments_num(const Tokens& arguments, unsigned int num);
|
||||
template <typename T>
|
||||
void show(const std::vector<T*>& entities);
|
||||
template <typename T>
|
||||
void get_parameter(CommandParameter<T>& parameter);
|
||||
void on_run(const Tokens& arguments);
|
||||
void on_pause(const Tokens& arguments);
|
||||
void on_stop(const Tokens& arguments);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue