cdwriter.h
来自「磁盘管理工具,主要管理光盘信息和内容希望大家喜欢」· C头文件 代码 · 共 68 行
H
68 行
#ifndef CDWRITER_H#define CDWRITER_H//$Id: CDWriter.h,v 1.8 2006/06/06 22:02:03 markus Rel $// 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 2 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, write to the Free Software// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.#include "Options.h"#include <YGP/IVIOAppl.h>/**Application to write records and movies to HTML pages. * *The data to write to is read from stdin.*/class CDWriter : public YGP::IVIOApplication { public: CDWriter (const int argc, const char* argv[]) : IVIOApplication (argc, argv, lo) { } ~CDWriter (); protected: virtual bool handleOption (const char option); // Program-handling virtual bool shallShowInfo () const { return false; } virtual int perform (int argc, const char* argv[]); virtual const char* name () const { return "CDWriter"; } virtual const char* description () const; // Help-handling virtual void showHelp () const; private: // Prohobited manager functions CDWriter (); CDWriter (const CDWriter&); const CDWriter& operator= (const CDWriter&); void createFile (const std::string& name, const char* lang, std::ofstream& file); static bool readHeaderFile (const char* file, const char* lang, std::string& target, const Glib::ustring& title); static void writeHeader (const char* lang, const char* format, std::ostream& stream, bool upSorted = true, const char* lead = "Movies"); static const longOptions lo[]; Options opt;};#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?