File indexing completed on 2024-05-12 05:48:40

0001 /*
0002     SPDX-FileCopyrightText: 2007 Nicolas Ternisien <nicolas.ternisien@gmail.com>
0003 
0004     SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #pragma once
0008 
0009 /**
0010  * Samba Log Mode Identifier
0011  */
0012 #define SAMBA_LOG_MODE_ID "sambaLogMode"
0013 
0014 /**
0015  * Samba Log Icon
0016  */
0017 #define SAMBA_MODE_ICON "preferences-system-network-share-windows"
0018 
0019 #include "logFile.h"
0020 
0021 #include "logMode.h"
0022 
0023 class SambaConfiguration;
0024 class SambaConfigurationWidget;
0025 class SambaItemBuilder;
0026 
0027 class SambaLogMode : public LogMode
0028 {
0029     Q_OBJECT
0030 
0031 public:
0032     explicit SambaLogMode(QSharedPointer<SambaConfiguration> &sambaConfiguration,
0033                           SambaConfigurationWidget *sambaConfigurationWidget,
0034                           SambaItemBuilder *itemBuilder);
0035 
0036     ~SambaLogMode() override;
0037 
0038     Analyzer *createAnalyzer(const QVariant &options = QVariant()) override;
0039 
0040     QVector<LogFile> createLogFiles() override;
0041 };