Files
recycled-ni-neutrino/src/gui/update_menue.h
[CST] Focus 36bbab9899 gui/update_menue.cpp: fix crash in dtor, CMenuForwarder is deleted on menu delete
Origin commit data
------------------
Branch: ni/coolstream
Commit: 37891d2de3
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-10-16 (Thu, 16 Oct 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
2014-10-16 13:56:15 +04:00

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