#ifndef PACKETTYPE_H
#define PACKETTYPE_H

enum PacketType
{
    TYPE_NONE = 0,
    TYPE_UNITY = 1,
    TYPE_FILE = 2,
    TYPE_COMMAND =3,
    TYPE_FOLDER = 4,
    TYPE_DELETE = 5,
    TYPE_FINISH = 6,
    TYPE_NEEDUPDATE = 7,
    TYPE_XMLANSWER = 8,
    TYPE_QT = 9,
    TYPE_DISABLE = 11,
    TYPE_UPDATE = 12,
    TYPE_CHECK_VERSION = 13,
    TYPE_FILESIZE = 20,

     TYPE_XMLANSWER_MESSAGE_FOR_GUI = 90,

    //xml-ответы на запросы к БД
    TYPE_XMLANSWER_QUERY_DB__LIST_INSTRUCTORS = 100,
    TYPE_XMLANSWER_QUERY_DB__LIST_GROUPS = 101,
    TYPE_XMLANSWER_QUERY_DB__LIST_TRAINEES = 102,
    TYPE_XMLANSWER_QUERY_DB__LIST_COMPUTERS = 103,
    TYPE_XMLANSWER_QUERY_DB__LIST_CLASSROOMS = 104,
    TYPE_XMLANSWER_QUERY_DB__LIST_TASKS = 105,

    //xml-ответы на запросы AdditionalFiles
    TYPE_XMLANSWER_QUERY_TASKS_XML_FIM = 130,
    TYPE_XMLANSWER_QUERY_TASKS_XML_AMM = 131,

    //ответы по обновлениям
    HASH_READY = 150,
    CHANGE_DATA_VERSION = 151,
    COPY_VERSION = 152,
    DELETE_DATA_VERSION = 153,
    BUSY = 154,
    FREE = 155
};


#endif // PACKETTYPE_H
