You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
320 B
16 lines
320 B
1 year ago
|
#pragma once
|
||
|
#include "actiondep.h"
|
||
|
#include "merrors.h"
|
||
|
|
||
|
using michlib::message;
|
||
|
|
||
|
ADD_ACTION(Info, info, InfoSupported<Source>);
|
||
|
|
||
|
template<class D> MString ActionInfo::DoAction([[maybe_unused]] const CLArgs& args, D& data)
|
||
|
{
|
||
|
auto info = data.Info();
|
||
|
if(!info.Exist()) return "No info";
|
||
|
message(info);
|
||
|
return "";
|
||
|
};
|