mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-13 16:33:36 +02:00
CKeyboardInput: add signal OnAfterSave()
supplementing for notifier handling
Origin commit data
------------------
Commit: 0b073949ec
Author: Thilo Graf <dbt@novatux.de>
Date: 2019-03-18 (Mon, 18 Mar 2019)
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
#include <system/localize.h>
|
||||
|
||||
#include <string>
|
||||
#include <sigc++/signal.h>
|
||||
|
||||
#define KEY_ROWS 4
|
||||
#define KEY_COLUMNS 14
|
||||
@@ -59,7 +60,7 @@ class CInputString
|
||||
std::string &getValue();
|
||||
};
|
||||
|
||||
class CKeyboardInput : public CMenuTarget
|
||||
class CKeyboardInput : public CMenuTarget, public sigc::trackable
|
||||
{
|
||||
protected:
|
||||
CFrameBuffer *frameBuffer;
|
||||
@@ -137,6 +138,7 @@ class CKeyboardInput : public CMenuTarget
|
||||
int exec( CMenuTarget* parent, const std::string & actionKey );
|
||||
|
||||
void forceSaveScreen(bool enable);
|
||||
sigc::signal<void> OnAfterSave;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user