mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-29 04:07:49 +02:00
some work on qt
This commit is contained in:
parent
26ad793d82
commit
ee73ee365f
13 changed files with 466 additions and 75 deletions
24
qt/i2pd_qt/DelayedSaveManager.h
Normal file
24
qt/i2pd_qt/DelayedSaveManager.h
Normal file
|
@ -0,0 +1,24 @@
|
|||
#ifndef DELAYEDSAVEMANAGER_H
|
||||
#define DELAYEDSAVEMANAGER_H
|
||||
|
||||
#include "Saver.h"
|
||||
|
||||
class DelayedSaveManager
|
||||
{
|
||||
public:
|
||||
DelayedSaveManager();
|
||||
|
||||
virtual void setSaver(Saver* saver)=0;
|
||||
|
||||
typedef unsigned int DATA_SERIAL_TYPE;
|
||||
|
||||
virtual void delayedSave(DATA_SERIAL_TYPE dataSerial, bool needsTunnelFocus, std::string tunnelNameToFocus)=0;
|
||||
|
||||
//returns false iff save failed
|
||||
virtual bool appExiting()=0;
|
||||
|
||||
virtual bool needsFocusOnTunnel()=0;
|
||||
virtual std::string getTunnelNameToFocus()=0;
|
||||
};
|
||||
|
||||
#endif // DELAYEDSAVEMANAGER_H
|
Loading…
Add table
Add a link
Reference in a new issue