Files
2026-08-19 00:27:14 +08:00

153 lines
6.8 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
Copyright (c) 2026 AlkSur
GNU LESSER GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright © 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
This version of the GNU Lesser General Public License incorporates
the terms and conditions of version 3 of the GNU General Public
License, supplemented by the additional permissions listed below.
0. Additional Definitions.
As used herein, “this License” refers to version 3 of the GNU Lesser
General Public License, and the “GNU GPL” refers to version 3 of the GNU
General Public License.
“The Library” refers to a covered work governed by this License,
other than an Application or a Combined Work as defined below.
An “Application” is any work that makes use of an interface provided
by the Library, but which is not otherwise based on the Library.
Defining a subclass of a class defined by the Library is deemed a mode
of using an interface provided by the Library.
A “Combined Work” is a work produced by combining or linking an
Application with the Library. The particular version of the Library
with which the Application was combined is also called the “Linked
Version”.
1. Modified Versions of the Library.
If you modify the Library, and your modification causes the Library to
refer to a function or data to be supplied by an Application that uses
the Library (other than as an argument passed when the Library is
invoked), then you must make a good‑faith effort to ensure that, in the
event an Application does not supply that function or data, the Library
still operates, and performs whatever part of its purpose remains
meaningful.
2. Combined Works.
A “Combined Work” is a work produced by combining or linking an
Application with the Library. The particular version of the Library
with which the Application was combined is also called the “Linked
Version”.
The “Combined Work” must carry prominent notices stating that the Library
is used in it and that the Library and its use are covered by this
License. You must supply a copy of this License. If the Combined Work
displays copyright notices during execution, you must include the
copyright notice for the Library among them, as well as a reference
directing the user to the copy of this License.
You may convey a Combined Work under terms of your choice that, taken
together, effectively do not restrict modification of the portions of
the Library contained in the Combined Work and reverse engineering for
debugging such modifications, if you also do each of the following:
a) Give prominent notice with each copy of the Combined Work that
the Library is used in it and that the Library and its use are
covered by this License.
b) Supply a copy of this License.
c) For a Combined Work that displays copyright notices during
execution, include the copyright notice for the Library among
these notices, as well as a reference directing the user to the
copies of this License.
d) Do not modify the Library, except as permitted under section 3.
3. Modified Versions of the Library.
You may convey a modified version of the Library under the terms of
section 2, provided that you also do all of the following:
a) The modified work must itself be a library.
b) You must cause the files modified to carry prominent notices
stating that you changed the files and the date of any change.
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the modified library’s facilities are designed to invoke
functions to be supplied by an application that uses the library,
then you must make a good‑faith effort to ensure that, in the
event an application does not supply such functions, the facilities
still operate, and perform whatever part of their purpose remains
meaningful.
4. Combined Libraries.
You may place library facilities that are a work based on the Library
side‑by‑side in a single library together with other library facilities
not covered by this License, and convey the resulting combined library,
provided that the separate work based on the Library and the other
library facilities are distinctly separated; and provided that you do
both of the following:
a) Convey a copy of the same combined library, without modification,
alongside the work based on the Library.
b) Cause the portion of the combined library that is a work based
on the Library to be licensed under this License.
5. Revised Versions of the GNU Lesser General Public License.
The Free Software Foundation may publish revised and/or new versions of
the GNU Lesser General Public License from time to time. Such new
versions will be similar in spirit to the present version, but may
differ in detail to address new problems or concerns.
Each version is given a distinguishing version number. If the Library
specifies that a certain numbered version of the GNU Lesser General
Public License “or any later version” applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Library does not specify a license version number,
you may choose any version ever published by the Free Software
Foundation.
6. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE LIBRARY “AS IS” WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE LIBRARY
IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
7. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.