/* * * Conky, a system monitor, based on torsmo * * Please see COPYING for details * * Copyright (C) 2010 Pavel Labath et al. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * You should have received a copy of the GNU General Public License * along with this program. If not, see . * */ #ifndef DISPLAY_CONSOLE_HH #define DISPLAY_CONSOLE_HH #include #include #include #include "display-output.hh" #include "luamm.hh" namespace conky { /* * A base class for console display output. */ class display_output_console : public display_output_base { public: explicit display_output_console(const std::string &name_); virtual ~display_output_console() {} // check if available and enabled in settings virtual bool detect(); // connect to DISPLAY and other stuff virtual bool initialize(); virtual bool shutdown(); // console-specific }; } // namespace conky #endif /* DISPLAY_CONSOLE_HH */