Qt4: Handle saving/loading message history
This commit is contained in:
+4
-1
@@ -80,7 +80,6 @@ public:
|
||||
|
||||
static char *qt_getmsghistory(BOOLEAN_P init);
|
||||
static void qt_putmsghistory(const char *msg, BOOLEAN_P is_restoring);
|
||||
static void qt_putmsghistory(const std::string& msg, BOOLEAN_P is_restoring);
|
||||
|
||||
static void qt_outrip(winid wid, int how, time_t when);
|
||||
static int qt_kbhit();
|
||||
@@ -89,6 +88,10 @@ public:
|
||||
|
||||
private:
|
||||
virtual bool notify(QObject *receiver, QEvent *event);
|
||||
|
||||
static QStringList *msgs_strings;
|
||||
static boolean msgs_saved;
|
||||
static boolean msgs_initd;
|
||||
};
|
||||
|
||||
} // namespace nethack_qt4
|
||||
|
||||
Reference in New Issue
Block a user