1*10b1980bSLionel Sambuc // Copyright 2012 Google Inc. 2*10b1980bSLionel Sambuc // All rights reserved. 3*10b1980bSLionel Sambuc // 4*10b1980bSLionel Sambuc // Redistribution and use in source and binary forms, with or without 5*10b1980bSLionel Sambuc // modification, are permitted provided that the following conditions are 6*10b1980bSLionel Sambuc // met: 7*10b1980bSLionel Sambuc // 8*10b1980bSLionel Sambuc // * Redistributions of source code must retain the above copyright 9*10b1980bSLionel Sambuc // notice, this list of conditions and the following disclaimer. 10*10b1980bSLionel Sambuc // * Redistributions in binary form must reproduce the above copyright 11*10b1980bSLionel Sambuc // notice, this list of conditions and the following disclaimer in the 12*10b1980bSLionel Sambuc // documentation and/or other materials provided with the distribution. 13*10b1980bSLionel Sambuc // * Neither the name of Google Inc. nor the names of its contributors 14*10b1980bSLionel Sambuc // may be used to endorse or promote products derived from this software 15*10b1980bSLionel Sambuc // without specific prior written permission. 16*10b1980bSLionel Sambuc // 17*10b1980bSLionel Sambuc // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 18*10b1980bSLionel Sambuc // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 19*10b1980bSLionel Sambuc // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 20*10b1980bSLionel Sambuc // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 21*10b1980bSLionel Sambuc // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 22*10b1980bSLionel Sambuc // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 23*10b1980bSLionel Sambuc // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24*10b1980bSLionel Sambuc // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25*10b1980bSLionel Sambuc // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26*10b1980bSLionel Sambuc // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27*10b1980bSLionel Sambuc // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28*10b1980bSLionel Sambuc 29*10b1980bSLionel Sambuc /// \file cli/cmd_report_tap.hpp 30*10b1980bSLionel Sambuc /// Provides the cmd_report_tap class. 31*10b1980bSLionel Sambuc 32*10b1980bSLionel Sambuc #if !defined(CLI_CMD_REPORT_TAP_HPP) 33*10b1980bSLionel Sambuc #define CLI_CMD_REPORT_TAP_HPP 34*10b1980bSLionel Sambuc 35*10b1980bSLionel Sambuc #include "cli/common.hpp" 36*10b1980bSLionel Sambuc #include "utils/cmdline/ui.hpp" 37*10b1980bSLionel Sambuc 38*10b1980bSLionel Sambuc namespace cli { 39*10b1980bSLionel Sambuc 40*10b1980bSLionel Sambuc 41*10b1980bSLionel Sambuc /// Implementation of the "report-tap" subcommand. 42*10b1980bSLionel Sambuc class cmd_report_tap : public cli_command 43*10b1980bSLionel Sambuc { 44*10b1980bSLionel Sambuc public: 45*10b1980bSLionel Sambuc cmd_report_tap(void); 46*10b1980bSLionel Sambuc 47*10b1980bSLionel Sambuc int run(utils::cmdline::ui*, const utils::cmdline::parsed_cmdline&, 48*10b1980bSLionel Sambuc const utils::config::tree&); 49*10b1980bSLionel Sambuc }; 50*10b1980bSLionel Sambuc 51*10b1980bSLionel Sambuc 52*10b1980bSLionel Sambuc } // namespace cli 53*10b1980bSLionel Sambuc 54*10b1980bSLionel Sambuc 55*10b1980bSLionel Sambuc #endif // !defined(CLI_CMD_REPORT_TAP_HPP) 56