Cleanup moc_csync.cpp include

This commit is contained in:
Hannah von Reth 2020-04-22 15:15:55 +02:00 committed by Hannah von Reth
parent edfe123e5f
commit ae53496ddf
3 changed files with 23 additions and 2 deletions

View File

@ -22,6 +22,7 @@ if(NO_RENAME_EXTENSION)
endif()
set(csync_SRCS
csync.cpp
csync_exclude.cpp
csync_util.cpp

22
src/csync/csync.cpp Normal file
View File

@ -0,0 +1,22 @@
/*
* libcsync -- a library to sync a directory with another
*
* Copyright (c) 2020 by Hannah von Reth <hannah.vonreth@owncloud.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "csync.h"
#include "moc_csync.cpp"

View File

@ -165,5 +165,3 @@ bool csync_is_collision_safe_hash(const QByteArray &checksum_header)
return checksum_header.startsWith("SHA")
|| checksum_header.startsWith("MD5:");
}
#include "moc_csync.cpp"