/usr/include/mathic/HelpAction.h is in libmathic-dev 1.0~git20170606-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | #ifndef MATHIC_HELP_ACTION_GUARD
#define MATHIC_HELP_ACTION_GUARD
#include "stdinc.h"
#include "Action.h"
#include <string>
namespace mathic {
class HelpAction : public Action {
public:
HelpAction();
virtual void directOptions
(std::vector<std::string> tokens, CliParser& parser);
virtual void performAction();
virtual const char* name() const;
virtual const char* description() const;
virtual const char* shortDescription() const;
virtual void pushBackParameters(std::vector<CliParameter*>& parameters);
virtual bool isHelpAction() const {return true;}
static const char* staticName();
protected:
const std::string& topic() const;
private:
void displayActionHelp(Action& action);
CliParser* _parser;
std::string _topic;
};
}
#endif
|