feta: change version with callback from server

This commit is contained in:
semenov
2024-12-19 15:33:53 +03:00
parent 6da0d90d06
commit c48831b77e
46 changed files with 1551 additions and 75 deletions

View File

@@ -21,6 +21,10 @@ static QString displayTemp = staticDataFolderName + "/displayData.xml";
static QString streamingHashFilename = staticDataFolderName + "/streamingHash.xml";
static QString serverHash = staticDataFolderName + "/serverHash.xml";
static QString cmd_CheckVersionList = "CHECKVERSIONLIST";
static QString cmd_GetServerHash = "GETSERVERDATALIST";
static QString cmd_Disable = "DISABLE";
enum PacketType{
TYPE_NONE = 0,
TYPE_UNITY = 1,
@@ -32,7 +36,11 @@ enum PacketType{
TYPE_NEEDUPDATE = 7,
TYPE_XMLANSWER = 8,
TYPE_QT = 9,
TYPE_DISABLE = 11
TYPE_DISABLE = 11,
HASH_READY = 150,
CHANGE_DATA_VERSION = 151,
COPY_VERSION = 152
};
class Tools {