1 /* 2 This file is part of ydotool. 3 Copyright (C) 2018-2019 ReimuNotMoe 4 5 This program is free software: you can redistribute it and/or modify 6 it under the terms of the MIT License. 7 8 This program is distributed in the hope that it will be useful, 9 but WITHOUT ANY WARRANTY; without even the implied warranty of 10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 11 */ 12 13 #ifndef YDOTOOL_TOOL_CLICK_HPP 14 #define YDOTOOL_TOOL_CLICK_HPP 15 16 #include "../../Library/Tool.hpp" 17 18 namespace po = boost::program_options; 19 20 namespace ydotool { 21 namespace Tools { 22 class Click : public Tool::ToolTemplate { 23 private: 24 25 public: 26 const char *Name() override; 27 28 int Exec(int argc, const char **argv) override; 29 construct()30 static void *construct() { 31 return (void *)(new Click()); 32 } 33 }; 34 } 35 } 36 37 #endif //YDOTOOL_TOOL_CLICK_HPP 38