File indexing completed on 2024-05-05 05:34:21

0001 /*
0002  * SPDX-FileCopyrightText: 2014 Daniel Vratil <dvratil@redhat.com>
0003  *
0004  * SPDX-License-Identifier: LGPL-2.1-or-later
0005  *
0006  */
0007 
0008 #pragma once
0009 
0010 #include "configoperation.h"
0011 #include "kscreen_export.h"
0012 #include "types.h"
0013 
0014 namespace KScreen
0015 {
0016 class GetConfigOperationPrivate;
0017 
0018 class KSCREEN_EXPORT GetConfigOperation : public KScreen::ConfigOperation
0019 {
0020     Q_OBJECT
0021 
0022 public:
0023     explicit GetConfigOperation(Options options = NoOptions, QObject *parent = nullptr);
0024     ~GetConfigOperation() override;
0025 
0026     KScreen::ConfigPtr config() const override;
0027 
0028 protected:
0029     void start() override;
0030 
0031 private:
0032     Q_DECLARE_PRIVATE(GetConfigOperation)
0033 };
0034 }