File indexing completed on 2024-06-16 04:42:42
0001 /* 0002 SPDX-FileCopyrightText: 2023-2024 Laurent Montel <montel.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 #include "room/plugins/plugintextinterface.h" 0010 class OllamaTextInterface : public PluginTextInterface 0011 { 0012 Q_OBJECT 0013 public: 0014 explicit OllamaTextInterface(QObject *parent = nullptr); 0015 ~OllamaTextInterface() override; 0016 0017 void addAction(QMenu *menu) override; 0018 0019 void setSelectedText(const QString &str) override; 0020 };