// /*************************************************************************** // The Disc Image Chef // ---------------------------------------------------------------------------- // // Filename : Progress.cs // Author(s) : Natalia Portillo // // Component : Main program loop. // // --[ Description ] ---------------------------------------------------------- // // Show progress on standard console. // // --[ License ] -------------------------------------------------------------- // // 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 . // // ---------------------------------------------------------------------------- // Copyright © 2011-2018 Natalia Portillo // ****************************************************************************/ using DiscImageChef.Console; namespace DiscImageChef { static class Progress { internal static void InitProgress() { } internal static void EndProgress() { DicConsole.WriteLine(); } internal static void UpdateProgress(string text, long current, long maximum) { DicConsole.Write("\r" + text); } internal static void InitProgress2() { } internal static void EndProgress2() { DicConsole.WriteLine(); } internal static void UpdateProgress2(string text, long current, long maximum) { DicConsole.Write("\r" + text); } internal static void InitTwoProgress() { } internal static void EndTwoProgress() { DicConsole.WriteLine(); } internal static void UpdateTwoProgress(string text, long current, long maximum, string text2, long current2, long maximum2) { DicConsole.Write("\r" + text + ": " + text2); } internal static void UpdateStatus(string text) { DicConsole.WriteLine(text); } } }