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:
2019-03-18 13:09:39 +01:00
committed by vanhofen
parent 03233f7b66
commit 87ed995400
2 changed files with 10 additions and 3 deletions

View File

@@ -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