void PchManagerServerInterface::dispatch(const MessageEnvelop &messageEnvelop)
{
    switch (messageEnvelop.messageType()) {
        case MessageType::EndMessage:
            end();
            break;
        case MessageType::UpdateProjectPartsMessage:
            updateProjectParts(messageEnvelop.message<UpdateProjectPartsMessage>());
            break;
        case MessageType::RemoveProjectPartsMessage:
            removeProjectParts(messageEnvelop.message<RemoveProjectPartsMessage>());
            break;
        default:
            qWarning() << "Unknown IpcClientMessage";
    }
}
void RefactoringProjectUpdater::precompiledHeaderRemoved(const QString &projectPartId)
{
    removeProjectParts({projectPartId});
}