Initial repo creation.
This commit is contained in:
@@ -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 <https://www.gnu.org/licenses/>.
|
||||||
@@ -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.
|
||||||
+15
@@ -0,0 +1,15 @@
|
|||||||
|
#include <QWidget>
|
||||||
|
|
||||||
|
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
|
||||||
Reference in New Issue
Block a user