X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Console%2FParsedCommand.mpp;h=2d645d668af9aa5a8cf19667f4060c0f49fff82e;hb=1863c038d0400159ce49b851a5b81c2ce698c684;hp=a1c5e466b69016d0f51dd7c242d5cc14f8b5dda7;hpb=80c6cb7ba9ad7776824c84809f422209adf27331;p=senf.git diff --git a/Console/ParsedCommand.mpp b/Console/ParsedCommand.mpp index a1c5e46..2d645d6 100644 --- a/Console/ParsedCommand.mpp +++ b/Console/ParsedCommand.mpp @@ -95,6 +95,8 @@ public: template detail::ArgumentInfo::type> & arg() const; + void function(Function fn); + protected: private: @@ -131,6 +133,8 @@ public: template detail::ArgumentInfo::type> & arg() const; + void function(Function fn); + protected: private: @@ -178,6 +182,14 @@ arg() const } template +void +senf::console::ParsedCommandOverload:: +function(Function fn) +{ + function_ = fn; +} + +template prefix_ senf::console::ParsedCommandOverload:: ParsedCommandOverload(Function fn) @@ -211,6 +223,14 @@ arg() const } template +void +senf::console::ParsedCommandOverload:: +function(Function fn) +{ + function_ = fn; +} + +template prefix_ senf::console::ParsedCommandOverload:: ParsedCommandOverload(Function fn)