File indexing completed on 2025-01-05 05:23:50

0001 /*
0002     This file is part of the Okteta Kasten module, 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_BYTEARRAYRAWFILEWRITETOJOB_HPP
0010 #define KASTEN_BYTEARRAYRAWFILEWRITETOJOB_HPP
0011 
0012 // Kasten core
0013 #include <Kasten/AbstractFileSystemSyncWithRemoteJob>
0014 
0015 namespace Kasten {
0016 
0017 class ByteArrayRawFileSynchronizer;
0018 
0019 class ByteArrayRawFileWriteToJob : public AbstractFileSystemSyncWithRemoteJob
0020 {
0021     Q_OBJECT
0022 
0023 public:
0024     ByteArrayRawFileWriteToJob(ByteArrayRawFileSynchronizer* synchronizer,
0025                                const QUrl& url, AbstractModelSynchronizer::ConnectOption option);
0026     ~ByteArrayRawFileWriteToJob() override;
0027 
0028 protected: // AbstractFileSystemSyncWithRemoteJob API
0029     void startSyncWithRemote() override;
0030 
0031 private Q_SLOTS:
0032 //     void onDataPulled();
0033 };
0034 
0035 }
0036 
0037 #endif