mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
CProgressWindow: implement CComponent classes
This implement window functionality from CComponentsWindow,
progress items from CProgressBar() and status text
items from CComponentsLabel()
Origin commit data
------------------
Branch: ni/coolstream
Commit: 2f0e4e1687
Author: Thilo Graf <dbt@novatux.de>
Date: 2014-06-09 (Mon, 09 Jun 2014)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
#ifndef __flashtool__
|
||||
#define __flashtool__
|
||||
|
||||
#include <gui/widget/progressstatus.h>
|
||||
#include <gui/widget/progresswindow.h>
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -43,7 +43,7 @@ class CFlashTool
|
||||
{
|
||||
private:
|
||||
|
||||
CProgress_StatusViewer* statusViewer;
|
||||
CProgressWindow* statusViewer;
|
||||
std::string mtdDevice;
|
||||
std::string ErrorMessage;
|
||||
|
||||
@@ -61,7 +61,7 @@ class CFlashTool
|
||||
const std::string & getErrorMessage(void) const;
|
||||
|
||||
void setMTDDevice( const std::string & mtddevice );
|
||||
void setStatusViewer( CProgress_StatusViewer* statusview );
|
||||
void setStatusViewer( CProgressWindow* statusview );
|
||||
|
||||
bool program( const std::string & filename, int globalProgressEndErase=-1, int globalProgressEndFlash=-1 );
|
||||
bool readFromMTD( const std::string & filename, int globalProgressEnd=-1 );
|
||||
|
Reference in New Issue
Block a user