File indexing completed on 2024-06-02 06:03:21

0001 /*
0002     This file is part of the Kasten Framework, made within the KDE community.
0003 
0004     SPDX-FileCopyrightText: 2008 Friedrich W. H. Kossebau <kossebau@kde.org>
0005 
0006     SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
0007 */
0008 
0009 #ifndef KASTEN_TESTDOCUMENTFILEWRITETOJOB_HPP
0010 #define KASTEN_TESTDOCUMENTFILEWRITETOJOB_HPP
0011 
0012 // Kasten core
0013 #include <abstractfilesystemsyncwithremotejob.hpp>
0014 
0015 namespace Kasten {
0016 
0017 class TestDocumentFileSynchronizer;
0018 class TestDocumentFileWriteThread;
0019 
0020 class TestDocumentFileWriteToJob : public AbstractFileSystemSyncWithRemoteJob
0021 {
0022     Q_OBJECT
0023 
0024 public:
0025     TestDocumentFileWriteToJob(TestDocumentFileSynchronizer* synchronizer,
0026                                const QUrl& url, AbstractModelSynchronizer::ConnectOption option);
0027     ~TestDocumentFileWriteToJob() override;
0028 
0029 protected: // AbstractFileSystemSyncWithRemoteJob API
0030     void startSyncWithRemote() override;
0031 
0032 private Q_SLOTS:
0033 //     void onDataPulled();
0034 };
0035 
0036 }
0037 
0038 #endif