File indexing completed on 2024-06-16 05:25:08
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_BYTEARRAYRAWFILECONNECTJOB_HPP 0010 #define KASTEN_BYTEARRAYRAWFILECONNECTJOB_HPP 0011 0012 // Kasten core 0013 #include <Kasten/AbstractFileSystemConnectJob> 0014 0015 namespace Kasten { 0016 0017 class ByteArrayRawFileSynchronizer; 0018 class ByteArrayDocument; 0019 // class ByteArrayRawFileWriteThread; 0020 0021 class ByteArrayRawFileConnectJob : public AbstractFileSystemConnectJob 0022 { 0023 Q_OBJECT 0024 0025 public: 0026 ByteArrayRawFileConnectJob(ByteArrayRawFileSynchronizer* synchronizer, AbstractDocument* document, 0027 const QUrl& url, AbstractModelSynchronizer::ConnectOption option); 0028 ~ByteArrayRawFileConnectJob() override; 0029 0030 protected: // AbstractFileSystemLoadJob API 0031 void startConnectWithFile() override; 0032 0033 private Q_SLOTS: 0034 // void onDataPulled(); 0035 0036 private: 0037 // ByteArrayRawFileWriteThread *mWriteThread; 0038 }; 0039 0040 } 0041 0042 #endif