mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
55 lines
1.5 KiB
C++
55 lines
1.5 KiB
C++
/*
|
|
$Id: port of software_update.h,v 1.6 2011/04/03 21:56:13 tuxbox-cvs Exp $
|
|
|
|
Neutrino-GUI - DBoxII-Project
|
|
|
|
Software update implementation - Neutrino-GUI
|
|
|
|
Copyright (C) 2001 Steffen Hehn 'McClean'
|
|
and some other guys
|
|
Homepage: http://dbox.cyberphoria.org/
|
|
|
|
Rework Copyright (C) 2011 T. Graf 'dbt'
|
|
Homepage: http://www.dbox2-tuning.net/
|
|
|
|
License: GPL
|
|
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., 51 Franklin St, Fifth Floor,
|
|
Boston, MA 02110-1301, USA.
|
|
*/
|
|
|
|
#ifndef __software_update__
|
|
#define __software_update__
|
|
|
|
#include <gui/widget/menue.h>
|
|
#include <gui/update.h>
|
|
#include <string>
|
|
|
|
class CSoftwareUpdate : public CMenuTarget
|
|
{
|
|
private:
|
|
int width;
|
|
int showSoftwareUpdate();
|
|
void showSoftwareUpdateExpert(CMenuWidget *w_mtd_expert);
|
|
|
|
CFlashExpert *fe;
|
|
|
|
public:
|
|
CSoftwareUpdate();
|
|
~CSoftwareUpdate();
|
|
int exec(CMenuTarget* parent, const std::string & actionKey);
|
|
};
|
|
|
|
#endif
|