File indexing completed on 2024-04-28 15:40:25

0001 /* SPDX-FileCopyrightText: 2003-2019 The KPhotoAlbum Development Team
0002 
0003    SPDX-License-Identifier: GPL-2.0-or-later
0004 */
0005 
0006 #ifndef UTIL_H
0007 #define UTIL_H
0008 
0009 #include <QString>
0010 
0011 /**
0012  * \file Utility functions for copying and linking files.
0013  *
0014  * \see FileNameUtils.h
0015  */
0016 
0017 namespace Utilities
0018 {
0019 bool copyOrOverwrite(const QString &from, const QString &to);
0020 bool makeSymbolicLink(const QString &from, const QString &to);
0021 bool makeHardLink(const QString &from, const QString &to);
0022 }
0023 
0024 #endif /* UTIL_H */
0025 
0026 // vi:expandtab:tabstop=4 shiftwidth=4: