diff options
author | Hannah von Reth <hannah.vonreth@owncloud.com> | 2020-04-22 16:15:55 +0300 |
---|---|---|
committer | Kevin Ottens <kevin.ottens@nextcloud.com> | 2020-12-15 12:59:11 +0300 |
commit | a1d8010eae308ea3c9a8f9fe978e7b56f897b7bc (patch) | |
tree | 519a68d71b7c383cc76f334897f70ad9cb1216f0 /src/csync | |
parent | 4d615c31da8149ffb5e6eedde76f46a7f18c031e (diff) |
Cleanup moc_csync.cpp include
Diffstat (limited to 'src/csync')
-rw-r--r-- | src/csync/CMakeLists.txt | 1 | ||||
-rw-r--r-- | src/csync/csync.cpp | 22 | ||||
-rw-r--r-- | src/csync/csync_util.cpp | 2 |
3 files changed, 23 insertions, 2 deletions
diff --git a/src/csync/CMakeLists.txt b/src/csync/CMakeLists.txt index f881db4ac..2d50c2988 100644 --- a/src/csync/CMakeLists.txt +++ b/src/csync/CMakeLists.txt @@ -30,6 +30,7 @@ if(NO_RENAME_EXTENSION) endif() set(csync_SRCS + csync.cpp csync_exclude.cpp csync_util.cpp diff --git a/src/csync/csync.cpp b/src/csync/csync.cpp new file mode 100644 index 000000000..a32c5324f --- /dev/null +++ b/src/csync/csync.cpp @@ -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" diff --git a/src/csync/csync_util.cpp b/src/csync/csync_util.cpp index c134bc0f2..54f298339 100644 --- a/src/csync/csync_util.cpp +++ b/src/csync/csync_util.cpp @@ -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" |