From a60b998305bbff133ec53c3fd2e62a802b4481bf Mon Sep 17 00:00:00 2001 From: Chris Date: Wed, 11 Nov 2026 17:10:38 +0000 Subject: [PATCH] Initial repo creation. --- LICENSE | 17 +++++++++++++++++ README.md | 8 ++++++++ interface.h | 15 +++++++++++++++ 3 files changed, 40 insertions(+) create mode 100644 LICENSE create mode 100644 README.md create mode 100644 interface.h diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..3a63ecb --- /dev/null +++ b/LICENSE @@ -0,0 +1,17 @@ +GNU GENERAL PUBLIC LICENSE +Version 3, 29 June 2007 + +Copyright (C) 2026 Teslos + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should receive a copy of the GNU General Public License +along with this program. If not, see . \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..293f6f1 --- /dev/null +++ b/README.md @@ -0,0 +1,8 @@ +# Teslos Tool Kit interface file + +This file is part of the TTK build system and is included via git submodule in the respective builds. + +**Please note that this file on its own is of no use!** + +## License +This project is licensed under the GNU General Public License v3.0 - see the [LICENSE](LICENSE) file for details. \ No newline at end of file diff --git a/interface.h b/interface.h new file mode 100644 index 0000000..04f263d --- /dev/null +++ b/interface.h @@ -0,0 +1,15 @@ +#include + +class Interface +{ +public: + virtual ~Interface() = default; + virtual QString pname() = 0; + virtual QString pdesc() = 0; + virtual QWidget* pcontent() = 0; +}; + +QT_BEGIN_NAMESPACE +#define Interface_iid "org.ttk.interface/1.0" +Q_DECLARE_INTERFACE(Interface, Interface_iid) +QT_END_NAMESPACE