// src/services/synchronizerprovider.cpp
#include "synchronizerprovider.h"
#include "imapsynchronizer.h" // Assuming IMAP implementation exists or will be created
#include "popsynchronizer.h" // Already implemented

SynchronizerProvider* SynchronizerProviderInstance::instance() {
    if (m_provider == nullptr) {
        return nullptr;
    }
    return m_provider;
}

void SynchronizerProviderInstance::setProvider(SynchronizerProvider* provider) {
    m_provider = provider;
}