Index: sources/storage/filehandler.h =================================================================== diff -u -r7a4f59af7287d30e8790e6b580327684d4e02e55 -r7edcaf054062754370e0abd165f17ca9941b7d07 --- sources/storage/filehandler.h (.../filehandler.h) (revision 7a4f59af7287d30e8790e6b580327684d4e02e55) +++ sources/storage/filehandler.h (.../filehandler.h) (revision 7edcaf054062754370e0abd165f17ca9941b7d07) @@ -1,16 +1,16 @@ /*! - * + * * Copyright (c) 2019-2020 Diality Inc. - All Rights Reserved. * \copyright * THIS CODE MAY NOT BE COPIED OR REPRODUCED IN ANY FORM, IN PART OR IN * WHOLE, WITHOUT THE EXPLICIT PERMISSION OF THE COPYRIGHT OWNER. - * + * * \file filehandler.h * \author (last) Behrouz NematiPour - * \date (last) 02-Apr-2020 + * \date (last) 25-Aug-2020 * \author (original) Behrouz NematiPour * \date (original) 24-Sep-2019 - * + * */ #pragma once @@ -43,5 +43,6 @@ static int copyFolder (const QString &vSource, const QString &vDestination); static int removeFiles(const QStringList &vFolders, const QStringList &vNameFilter, const QDate &vDateOlderThan); static bool makeFolder (const QString &vFolder); + static bool isMounted (const QString &vPath, bool *vIsReadOnly = nullptr); }; }