mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-01 01:41:23 +02:00
CProgressWindow: implement CComponent classes
This implement window functionality from CComponentsWindow, progress items from CProgressBar() and status text items from CComponentsLabel()
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