更新许可证
This commit is contained in:
53
LICENSE.txt
53
LICENSE.txt
@@ -1,21 +1,32 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2024 FastWeb fwlua.com
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2024 FastWeb - fwlua.com - nianhua
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
|
||||
## Additional Terms for Commercial Use
|
||||
|
||||
This software is licensed for personal, educational, and non-commercial use.
|
||||
For commercial use or use within a company, organization, or institution, a
|
||||
separate commercial license is required. To obtain a commercial license,
|
||||
please contact
|
||||
EMail:1585346868@qq.com
|
||||
Mobile:17367918735
|
||||
QQ:1585346868
|
||||
|
||||
@@ -1,4 +1,30 @@
|
||||
#include "app.h"
|
||||
// MIT License
|
||||
// Copyright(c) 2024 FastWeb - fwlua.com - nianhua
|
||||
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
// of this software and associated documentation files(the "Software"), to deal
|
||||
// in the Software without restriction, including without limitation the rights
|
||||
// to use, copy, modify, merge, publish, distribute, sublicense, and /or sell
|
||||
// copies of the Software, and to permit persons to whom the Software is
|
||||
// furnished to do so, subject to the following conditions :
|
||||
// The above copyright notice and this permission notice shall be included in all
|
||||
// copies or substantial portions of the Software.
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
|
||||
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
// SOFTWARE.
|
||||
// ## Additional Terms for Commercial Use
|
||||
// This software is licensed for personal, educational, and non - commercial use.
|
||||
// For commercial use or use within a company, organization, or institution, a
|
||||
// separate commercial license is required.To obtain a commercial license,
|
||||
// please contact
|
||||
// EMail:1585346868@qq.com
|
||||
// Mobile:17367918735
|
||||
// QQ:1585346868
|
||||
|
||||
#include "app.h"
|
||||
#include <regex>
|
||||
#include "net/http_website.h"
|
||||
#include "net/http_router.h"
|
||||
|
||||
@@ -1,4 +1,30 @@
|
||||
#include "config.h"
|
||||
// MIT License
|
||||
// Copyright(c) 2024 FastWeb - fwlua.com - nianhua
|
||||
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
// of this software and associated documentation files(the "Software"), to deal
|
||||
// in the Software without restriction, including without limitation the rights
|
||||
// to use, copy, modify, merge, publish, distribute, sublicense, and /or sell
|
||||
// copies of the Software, and to permit persons to whom the Software is
|
||||
// furnished to do so, subject to the following conditions :
|
||||
// The above copyright notice and this permission notice shall be included in all
|
||||
// copies or substantial portions of the Software.
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
|
||||
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
// SOFTWARE.
|
||||
// ## Additional Terms for Commercial Use
|
||||
// This software is licensed for personal, educational, and non - commercial use.
|
||||
// For commercial use or use within a company, organization, or institution, a
|
||||
// separate commercial license is required.To obtain a commercial license,
|
||||
// please contact
|
||||
// EMail:1585346868@qq.com
|
||||
// Mobile:17367918735
|
||||
// QQ:1585346868
|
||||
|
||||
#include "config.h"
|
||||
#include <regex>
|
||||
#include "core/app.h"
|
||||
fastweb::config::config(fastweb::app* ptr):Interface(ptr)
|
||||
|
||||
@@ -1,4 +1,30 @@
|
||||
#include <iostream>
|
||||
// MIT License
|
||||
// Copyright(c) 2024 FastWeb - fwlua.com - nianhua
|
||||
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
// of this software and associated documentation files(the "Software"), to deal
|
||||
// in the Software without restriction, including without limitation the rights
|
||||
// to use, copy, modify, merge, publish, distribute, sublicense, and /or sell
|
||||
// copies of the Software, and to permit persons to whom the Software is
|
||||
// furnished to do so, subject to the following conditions :
|
||||
// The above copyright notice and this permission notice shall be included in all
|
||||
// copies or substantial portions of the Software.
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
|
||||
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
// SOFTWARE.
|
||||
// ## Additional Terms for Commercial Use
|
||||
// This software is licensed for personal, educational, and non - commercial use.
|
||||
// For commercial use or use within a company, organization, or institution, a
|
||||
// separate commercial license is required.To obtain a commercial license,
|
||||
// please contact
|
||||
// EMail:1585346868@qq.com
|
||||
// Mobile:17367918735
|
||||
// QQ:1585346868
|
||||
|
||||
#include <iostream>
|
||||
#include "core/app.h"
|
||||
#include "util/system.h"
|
||||
#include "core/define.h"
|
||||
|
||||
@@ -1,4 +1,30 @@
|
||||
|
||||
// MIT License
|
||||
// Copyright(c) 2024 FastWeb - fwlua.com - nianhua
|
||||
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
// of this software and associated documentation files(the "Software"), to deal
|
||||
// in the Software without restriction, including without limitation the rights
|
||||
// to use, copy, modify, merge, publish, distribute, sublicense, and /or sell
|
||||
// copies of the Software, and to permit persons to whom the Software is
|
||||
// furnished to do so, subject to the following conditions :
|
||||
// The above copyright notice and this permission notice shall be included in all
|
||||
// copies or substantial portions of the Software.
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
|
||||
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
// SOFTWARE.
|
||||
// ## Additional Terms for Commercial Use
|
||||
// This software is licensed for personal, educational, and non - commercial use.
|
||||
// For commercial use or use within a company, organization, or institution, a
|
||||
// separate commercial license is required.To obtain a commercial license,
|
||||
// please contact
|
||||
// EMail:1585346868@qq.com
|
||||
// Mobile:17367918735
|
||||
// QQ:1585346868
|
||||
|
||||
|
||||
#include "global.h"
|
||||
#include "module/basemodule.h"
|
||||
fastweb::global::global(fastweb::app* app):Interface(app)
|
||||
|
||||
@@ -1,4 +1,30 @@
|
||||
#include "global_module.h"
|
||||
// MIT License
|
||||
// Copyright(c) 2024 FastWeb - fwlua.com - nianhua
|
||||
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
// of this software and associated documentation files(the "Software"), to deal
|
||||
// in the Software without restriction, including without limitation the rights
|
||||
// to use, copy, modify, merge, publish, distribute, sublicense, and /or sell
|
||||
// copies of the Software, and to permit persons to whom the Software is
|
||||
// furnished to do so, subject to the following conditions :
|
||||
// The above copyright notice and this permission notice shall be included in all
|
||||
// copies or substantial portions of the Software.
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
|
||||
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
// SOFTWARE.
|
||||
// ## Additional Terms for Commercial Use
|
||||
// This software is licensed for personal, educational, and non - commercial use.
|
||||
// For commercial use or use within a company, organization, or institution, a
|
||||
// separate commercial license is required.To obtain a commercial license,
|
||||
// please contact
|
||||
// EMail:1585346868@qq.com
|
||||
// Mobile:17367918735
|
||||
// QQ:1585346868
|
||||
|
||||
#include "global_module.h"
|
||||
fastweb::global_module::global_module(fastweb::app* app):Interface(app)
|
||||
{
|
||||
|
||||
|
||||
@@ -1,4 +1,30 @@
|
||||
#include "core/interceptormanager.h"
|
||||
// MIT License
|
||||
// Copyright(c) 2024 FastWeb - fwlua.com - nianhua
|
||||
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
// of this software and associated documentation files(the "Software"), to deal
|
||||
// in the Software without restriction, including without limitation the rights
|
||||
// to use, copy, modify, merge, publish, distribute, sublicense, and /or sell
|
||||
// copies of the Software, and to permit persons to whom the Software is
|
||||
// furnished to do so, subject to the following conditions :
|
||||
// The above copyright notice and this permission notice shall be included in all
|
||||
// copies or substantial portions of the Software.
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
|
||||
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
// SOFTWARE.
|
||||
// ## Additional Terms for Commercial Use
|
||||
// This software is licensed for personal, educational, and non - commercial use.
|
||||
// For commercial use or use within a company, organization, or institution, a
|
||||
// separate commercial license is required.To obtain a commercial license,
|
||||
// please contact
|
||||
// EMail:1585346868@qq.com
|
||||
// Mobile:17367918735
|
||||
// QQ:1585346868
|
||||
|
||||
#include "core/interceptormanager.h"
|
||||
#include "core/config.h"
|
||||
#include "core/app.h"
|
||||
#include "core/statemanager.h"
|
||||
|
||||
@@ -1,4 +1,30 @@
|
||||
#include "log.h"
|
||||
// MIT License
|
||||
// Copyright(c) 2024 FastWeb - fwlua.com - nianhua
|
||||
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
// of this software and associated documentation files(the "Software"), to deal
|
||||
// in the Software without restriction, including without limitation the rights
|
||||
// to use, copy, modify, merge, publish, distribute, sublicense, and /or sell
|
||||
// copies of the Software, and to permit persons to whom the Software is
|
||||
// furnished to do so, subject to the following conditions :
|
||||
// The above copyright notice and this permission notice shall be included in all
|
||||
// copies or substantial portions of the Software.
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
|
||||
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
// SOFTWARE.
|
||||
// ## Additional Terms for Commercial Use
|
||||
// This software is licensed for personal, educational, and non - commercial use.
|
||||
// For commercial use or use within a company, organization, or institution, a
|
||||
// separate commercial license is required.To obtain a commercial license,
|
||||
// please contact
|
||||
// EMail:1585346868@qq.com
|
||||
// Mobile:17367918735
|
||||
// QQ:1585346868
|
||||
|
||||
#include "log.h"
|
||||
#include "util/print.h"
|
||||
#include "util/time.h"
|
||||
#include "util/codec.h"
|
||||
|
||||
@@ -1,4 +1,30 @@
|
||||
#include "lualibdetecter.h"
|
||||
// MIT License
|
||||
// Copyright(c) 2024 FastWeb - fwlua.com - nianhua
|
||||
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
// of this software and associated documentation files(the "Software"), to deal
|
||||
// in the Software without restriction, including without limitation the rights
|
||||
// to use, copy, modify, merge, publish, distribute, sublicense, and /or sell
|
||||
// copies of the Software, and to permit persons to whom the Software is
|
||||
// furnished to do so, subject to the following conditions :
|
||||
// The above copyright notice and this permission notice shall be included in all
|
||||
// copies or substantial portions of the Software.
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
|
||||
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
// SOFTWARE.
|
||||
// ## Additional Terms for Commercial Use
|
||||
// This software is licensed for personal, educational, and non - commercial use.
|
||||
// For commercial use or use within a company, organization, or institution, a
|
||||
// separate commercial license is required.To obtain a commercial license,
|
||||
// please contact
|
||||
// EMail:1585346868@qq.com
|
||||
// Mobile:17367918735
|
||||
// QQ:1585346868
|
||||
|
||||
#include "lualibdetecter.h"
|
||||
#include "core/config.h"
|
||||
#include "core/app.h"
|
||||
#include "util/file.h"
|
||||
|
||||
@@ -1,4 +1,30 @@
|
||||
#include "modulemanager.h"
|
||||
// MIT License
|
||||
// Copyright(c) 2024 FastWeb - fwlua.com - nianhua
|
||||
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
// of this software and associated documentation files(the "Software"), to deal
|
||||
// in the Software without restriction, including without limitation the rights
|
||||
// to use, copy, modify, merge, publish, distribute, sublicense, and /or sell
|
||||
// copies of the Software, and to permit persons to whom the Software is
|
||||
// furnished to do so, subject to the following conditions :
|
||||
// The above copyright notice and this permission notice shall be included in all
|
||||
// copies or substantial portions of the Software.
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
|
||||
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
// SOFTWARE.
|
||||
// ## Additional Terms for Commercial Use
|
||||
// This software is licensed for personal, educational, and non - commercial use.
|
||||
// For commercial use or use within a company, organization, or institution, a
|
||||
// separate commercial license is required.To obtain a commercial license,
|
||||
// please contact
|
||||
// EMail:1585346868@qq.com
|
||||
// Mobile:17367918735
|
||||
// QQ:1585346868
|
||||
|
||||
#include "modulemanager.h"
|
||||
|
||||
#include "util/file.h"
|
||||
#include "core/app.h"
|
||||
@@ -65,9 +91,7 @@ void fastweb::module_manager::start()
|
||||
if (mi.dll == nullptr)
|
||||
{
|
||||
LOG_ERROR("module loading failed, filename: " + mod_filepath
|
||||
#ifdef _WIN32
|
||||
+","+ codec::to_utf8(get_last_error_desc())
|
||||
#endif
|
||||
);
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -1,4 +1,30 @@
|
||||
#include "statemanager.h"
|
||||
// MIT License
|
||||
// Copyright(c) 2024 FastWeb - fwlua.com - nianhua
|
||||
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
// of this software and associated documentation files(the "Software"), to deal
|
||||
// in the Software without restriction, including without limitation the rights
|
||||
// to use, copy, modify, merge, publish, distribute, sublicense, and /or sell
|
||||
// copies of the Software, and to permit persons to whom the Software is
|
||||
// furnished to do so, subject to the following conditions :
|
||||
// The above copyright notice and this permission notice shall be included in all
|
||||
// copies or substantial portions of the Software.
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
|
||||
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
// SOFTWARE.
|
||||
// ## Additional Terms for Commercial Use
|
||||
// This software is licensed for personal, educational, and non - commercial use.
|
||||
// For commercial use or use within a company, organization, or institution, a
|
||||
// separate commercial license is required.To obtain a commercial license,
|
||||
// please contact
|
||||
// EMail:1585346868@qq.com
|
||||
// Mobile:17367918735
|
||||
// QQ:1585346868
|
||||
|
||||
#include "statemanager.h"
|
||||
|
||||
#include "util/file.h"
|
||||
#include "util/system.h"
|
||||
|
||||
@@ -1,4 +1,30 @@
|
||||
#include "core/subscribemanager.h"
|
||||
// MIT License
|
||||
// Copyright(c) 2024 FastWeb - fwlua.com - nianhua
|
||||
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
// of this software and associated documentation files(the "Software"), to deal
|
||||
// in the Software without restriction, including without limitation the rights
|
||||
// to use, copy, modify, merge, publish, distribute, sublicense, and /or sell
|
||||
// copies of the Software, and to permit persons to whom the Software is
|
||||
// furnished to do so, subject to the following conditions :
|
||||
// The above copyright notice and this permission notice shall be included in all
|
||||
// copies or substantial portions of the Software.
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
|
||||
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
// SOFTWARE.
|
||||
// ## Additional Terms for Commercial Use
|
||||
// This software is licensed for personal, educational, and non - commercial use.
|
||||
// For commercial use or use within a company, organization, or institution, a
|
||||
// separate commercial license is required.To obtain a commercial license,
|
||||
// please contact
|
||||
// EMail:1585346868@qq.com
|
||||
// Mobile:17367918735
|
||||
// QQ:1585346868
|
||||
|
||||
#include "core/subscribemanager.h"
|
||||
#include "core/config.h"
|
||||
#include "core/app.h"
|
||||
#include "core/statemanager.h"
|
||||
|
||||
@@ -1,4 +1,30 @@
|
||||
#include "codec.h"
|
||||
// MIT License
|
||||
// Copyright(c) 2024 FastWeb - fwlua.com - nianhua
|
||||
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
// of this software and associated documentation files(the "Software"), to deal
|
||||
// in the Software without restriction, including without limitation the rights
|
||||
// to use, copy, modify, merge, publish, distribute, sublicense, and /or sell
|
||||
// copies of the Software, and to permit persons to whom the Software is
|
||||
// furnished to do so, subject to the following conditions :
|
||||
// The above copyright notice and this permission notice shall be included in all
|
||||
// copies or substantial portions of the Software.
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
|
||||
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
// SOFTWARE.
|
||||
// ## Additional Terms for Commercial Use
|
||||
// This software is licensed for personal, educational, and non - commercial use.
|
||||
// For commercial use or use within a company, organization, or institution, a
|
||||
// separate commercial license is required.To obtain a commercial license,
|
||||
// please contact
|
||||
// EMail:1585346868@qq.com
|
||||
// Mobile:17367918735
|
||||
// QQ:1585346868
|
||||
|
||||
#include "codec.h"
|
||||
#include "util/codec.h"
|
||||
std::string module::codec::url_de(const std::string& value)
|
||||
{
|
||||
|
||||
@@ -1,4 +1,30 @@
|
||||
#include "filesystem.h"
|
||||
// MIT License
|
||||
// Copyright(c) 2024 FastWeb - fwlua.com - nianhua
|
||||
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
// of this software and associated documentation files(the "Software"), to deal
|
||||
// in the Software without restriction, including without limitation the rights
|
||||
// to use, copy, modify, merge, publish, distribute, sublicense, and /or sell
|
||||
// copies of the Software, and to permit persons to whom the Software is
|
||||
// furnished to do so, subject to the following conditions :
|
||||
// The above copyright notice and this permission notice shall be included in all
|
||||
// copies or substantial portions of the Software.
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
|
||||
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
// SOFTWARE.
|
||||
// ## Additional Terms for Commercial Use
|
||||
// This software is licensed for personal, educational, and non - commercial use.
|
||||
// For commercial use or use within a company, organization, or institution, a
|
||||
// separate commercial license is required.To obtain a commercial license,
|
||||
// please contact
|
||||
// EMail:1585346868@qq.com
|
||||
// Mobile:17367918735
|
||||
// QQ:1585346868
|
||||
|
||||
#include "filesystem.h"
|
||||
#include "util/file.h"
|
||||
sol::table module::filesystem::list(const std::string& dirpath, const std::string& regex, sol::this_state s)
|
||||
{
|
||||
|
||||
@@ -1,4 +1,30 @@
|
||||
#include "globalfuns.h"
|
||||
// MIT License
|
||||
// Copyright(c) 2024 FastWeb - fwlua.com - nianhua
|
||||
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
// of this software and associated documentation files(the "Software"), to deal
|
||||
// in the Software without restriction, including without limitation the rights
|
||||
// to use, copy, modify, merge, publish, distribute, sublicense, and /or sell
|
||||
// copies of the Software, and to permit persons to whom the Software is
|
||||
// furnished to do so, subject to the following conditions :
|
||||
// The above copyright notice and this permission notice shall be included in all
|
||||
// copies or substantial portions of the Software.
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
|
||||
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
// SOFTWARE.
|
||||
// ## Additional Terms for Commercial Use
|
||||
// This software is licensed for personal, educational, and non - commercial use.
|
||||
// For commercial use or use within a company, organization, or institution, a
|
||||
// separate commercial license is required.To obtain a commercial license,
|
||||
// please contact
|
||||
// EMail:1585346868@qq.com
|
||||
// Mobile:17367918735
|
||||
// QQ:1585346868
|
||||
|
||||
#include "globalfuns.h"
|
||||
#include "util/counter.hpp"
|
||||
#include "util/codec.h"
|
||||
#include "util/time.h"
|
||||
|
||||
@@ -1,4 +1,30 @@
|
||||
#include "httpclient.h"
|
||||
// MIT License
|
||||
// Copyright(c) 2024 FastWeb - fwlua.com - nianhua
|
||||
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
// of this software and associated documentation files(the "Software"), to deal
|
||||
// in the Software without restriction, including without limitation the rights
|
||||
// to use, copy, modify, merge, publish, distribute, sublicense, and /or sell
|
||||
// copies of the Software, and to permit persons to whom the Software is
|
||||
// furnished to do so, subject to the following conditions :
|
||||
// The above copyright notice and this permission notice shall be included in all
|
||||
// copies or substantial portions of the Software.
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
|
||||
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
// SOFTWARE.
|
||||
// ## Additional Terms for Commercial Use
|
||||
// This software is licensed for personal, educational, and non - commercial use.
|
||||
// For commercial use or use within a company, organization, or institution, a
|
||||
// separate commercial license is required.To obtain a commercial license,
|
||||
// please contact
|
||||
// EMail:1585346868@qq.com
|
||||
// Mobile:17367918735
|
||||
// QQ:1585346868
|
||||
|
||||
#include "httpclient.h"
|
||||
|
||||
module::httpclient::httpclient()
|
||||
{
|
||||
|
||||
@@ -1,4 +1,30 @@
|
||||
#include "interceptor.h"
|
||||
// MIT License
|
||||
// Copyright(c) 2024 FastWeb - fwlua.com - nianhua
|
||||
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
// of this software and associated documentation files(the "Software"), to deal
|
||||
// in the Software without restriction, including without limitation the rights
|
||||
// to use, copy, modify, merge, publish, distribute, sublicense, and /or sell
|
||||
// copies of the Software, and to permit persons to whom the Software is
|
||||
// furnished to do so, subject to the following conditions :
|
||||
// The above copyright notice and this permission notice shall be included in all
|
||||
// copies or substantial portions of the Software.
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
|
||||
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
// SOFTWARE.
|
||||
// ## Additional Terms for Commercial Use
|
||||
// This software is licensed for personal, educational, and non - commercial use.
|
||||
// For commercial use or use within a company, organization, or institution, a
|
||||
// separate commercial license is required.To obtain a commercial license,
|
||||
// please contact
|
||||
// EMail:1585346868@qq.com
|
||||
// Mobile:17367918735
|
||||
// QQ:1585346868
|
||||
|
||||
#include "interceptor.h"
|
||||
#include "core/app.h"
|
||||
|
||||
module::interceptor::interceptor()
|
||||
|
||||
@@ -1,4 +1,30 @@
|
||||
#include "request.h"
|
||||
// MIT License
|
||||
// Copyright(c) 2024 FastWeb - fwlua.com - nianhua
|
||||
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
// of this software and associated documentation files(the "Software"), to deal
|
||||
// in the Software without restriction, including without limitation the rights
|
||||
// to use, copy, modify, merge, publish, distribute, sublicense, and /or sell
|
||||
// copies of the Software, and to permit persons to whom the Software is
|
||||
// furnished to do so, subject to the following conditions :
|
||||
// The above copyright notice and this permission notice shall be included in all
|
||||
// copies or substantial portions of the Software.
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
|
||||
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
// SOFTWARE.
|
||||
// ## Additional Terms for Commercial Use
|
||||
// This software is licensed for personal, educational, and non - commercial use.
|
||||
// For commercial use or use within a company, organization, or institution, a
|
||||
// separate commercial license is required.To obtain a commercial license,
|
||||
// please contact
|
||||
// EMail:1585346868@qq.com
|
||||
// Mobile:17367918735
|
||||
// QQ:1585346868
|
||||
|
||||
#include "request.h"
|
||||
#include "net/http_reqpack.h"
|
||||
#include "session.h"
|
||||
module::request::request(network::http::request* request) :m_request(request)
|
||||
|
||||
@@ -1,4 +1,30 @@
|
||||
#include "response.h"
|
||||
// MIT License
|
||||
// Copyright(c) 2024 FastWeb - fwlua.com - nianhua
|
||||
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
// of this software and associated documentation files(the "Software"), to deal
|
||||
// in the Software without restriction, including without limitation the rights
|
||||
// to use, copy, modify, merge, publish, distribute, sublicense, and /or sell
|
||||
// copies of the Software, and to permit persons to whom the Software is
|
||||
// furnished to do so, subject to the following conditions :
|
||||
// The above copyright notice and this permission notice shall be included in all
|
||||
// copies or substantial portions of the Software.
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
|
||||
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
// SOFTWARE.
|
||||
// ## Additional Terms for Commercial Use
|
||||
// This software is licensed for personal, educational, and non - commercial use.
|
||||
// For commercial use or use within a company, organization, or institution, a
|
||||
// separate commercial license is required.To obtain a commercial license,
|
||||
// please contact
|
||||
// EMail:1585346868@qq.com
|
||||
// Mobile:17367918735
|
||||
// QQ:1585346868
|
||||
|
||||
#include "response.h"
|
||||
#include "net/http_reqpack.h"
|
||||
|
||||
module::response::response(network::http::response* response) :m_response(response)
|
||||
|
||||
@@ -1,4 +1,30 @@
|
||||
#include "session.h"
|
||||
// MIT License
|
||||
// Copyright(c) 2024 FastWeb - fwlua.com - nianhua
|
||||
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
// of this software and associated documentation files(the "Software"), to deal
|
||||
// in the Software without restriction, including without limitation the rights
|
||||
// to use, copy, modify, merge, publish, distribute, sublicense, and /or sell
|
||||
// copies of the Software, and to permit persons to whom the Software is
|
||||
// furnished to do so, subject to the following conditions :
|
||||
// The above copyright notice and this permission notice shall be included in all
|
||||
// copies or substantial portions of the Software.
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
|
||||
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
// SOFTWARE.
|
||||
// ## Additional Terms for Commercial Use
|
||||
// This software is licensed for personal, educational, and non - commercial use.
|
||||
// For commercial use or use within a company, organization, or institution, a
|
||||
// separate commercial license is required.To obtain a commercial license,
|
||||
// please contact
|
||||
// EMail:1585346868@qq.com
|
||||
// Mobile:17367918735
|
||||
// QQ:1585346868
|
||||
|
||||
#include "session.h"
|
||||
#include "net/http_website.h"
|
||||
module::session::session(network::http::session* session):m_session(session)
|
||||
{
|
||||
|
||||
@@ -1,4 +1,30 @@
|
||||
#include "subscribe.h"
|
||||
// MIT License
|
||||
// Copyright(c) 2024 FastWeb - fwlua.com - nianhua
|
||||
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
// of this software and associated documentation files(the "Software"), to deal
|
||||
// in the Software without restriction, including without limitation the rights
|
||||
// to use, copy, modify, merge, publish, distribute, sublicense, and /or sell
|
||||
// copies of the Software, and to permit persons to whom the Software is
|
||||
// furnished to do so, subject to the following conditions :
|
||||
// The above copyright notice and this permission notice shall be included in all
|
||||
// copies or substantial portions of the Software.
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
|
||||
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
// SOFTWARE.
|
||||
// ## Additional Terms for Commercial Use
|
||||
// This software is licensed for personal, educational, and non - commercial use.
|
||||
// For commercial use or use within a company, organization, or institution, a
|
||||
// separate commercial license is required.To obtain a commercial license,
|
||||
// please contact
|
||||
// EMail:1585346868@qq.com
|
||||
// Mobile:17367918735
|
||||
// QQ:1585346868
|
||||
|
||||
#include "subscribe.h"
|
||||
#include "core/app.h"
|
||||
|
||||
module::subscribe::subscribe()
|
||||
|
||||
@@ -1,4 +1,30 @@
|
||||
#include "ini.h"
|
||||
// MIT License
|
||||
// Copyright(c) 2024 FastWeb - fwlua.com - nianhua
|
||||
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
// of this software and associated documentation files(the "Software"), to deal
|
||||
// in the Software without restriction, including without limitation the rights
|
||||
// to use, copy, modify, merge, publish, distribute, sublicense, and /or sell
|
||||
// copies of the Software, and to permit persons to whom the Software is
|
||||
// furnished to do so, subject to the following conditions :
|
||||
// The above copyright notice and this permission notice shall be included in all
|
||||
// copies or substantial portions of the Software.
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
|
||||
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
// SOFTWARE.
|
||||
// ## Additional Terms for Commercial Use
|
||||
// This software is licensed for personal, educational, and non - commercial use.
|
||||
// For commercial use or use within a company, organization, or institution, a
|
||||
// separate commercial license is required.To obtain a commercial license,
|
||||
// please contact
|
||||
// EMail:1585346868@qq.com
|
||||
// Mobile:17367918735
|
||||
// QQ:1585346868
|
||||
|
||||
#include "ini.h"
|
||||
|
||||
module::ini::ini()
|
||||
{
|
||||
|
||||
@@ -1,4 +1,30 @@
|
||||
#include "mutex.h"
|
||||
// MIT License
|
||||
// Copyright(c) 2024 FastWeb - fwlua.com - nianhua
|
||||
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
// of this software and associated documentation files(the "Software"), to deal
|
||||
// in the Software without restriction, including without limitation the rights
|
||||
// to use, copy, modify, merge, publish, distribute, sublicense, and /or sell
|
||||
// copies of the Software, and to permit persons to whom the Software is
|
||||
// furnished to do so, subject to the following conditions :
|
||||
// The above copyright notice and this permission notice shall be included in all
|
||||
// copies or substantial portions of the Software.
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
|
||||
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
// SOFTWARE.
|
||||
// ## Additional Terms for Commercial Use
|
||||
// This software is licensed for personal, educational, and non - commercial use.
|
||||
// For commercial use or use within a company, organization, or institution, a
|
||||
// separate commercial license is required.To obtain a commercial license,
|
||||
// please contact
|
||||
// EMail:1585346868@qq.com
|
||||
// Mobile:17367918735
|
||||
// QQ:1585346868
|
||||
|
||||
#include "mutex.h"
|
||||
|
||||
module::mutex::mutex()
|
||||
{
|
||||
|
||||
@@ -1,4 +1,30 @@
|
||||
#include "process.h"
|
||||
// MIT License
|
||||
// Copyright(c) 2024 FastWeb - fwlua.com - nianhua
|
||||
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
// of this software and associated documentation files(the "Software"), to deal
|
||||
// in the Software without restriction, including without limitation the rights
|
||||
// to use, copy, modify, merge, publish, distribute, sublicense, and /or sell
|
||||
// copies of the Software, and to permit persons to whom the Software is
|
||||
// furnished to do so, subject to the following conditions :
|
||||
// The above copyright notice and this permission notice shall be included in all
|
||||
// copies or substantial portions of the Software.
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
|
||||
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
// SOFTWARE.
|
||||
// ## Additional Terms for Commercial Use
|
||||
// This software is licensed for personal, educational, and non - commercial use.
|
||||
// For commercial use or use within a company, organization, or institution, a
|
||||
// separate commercial license is required.To obtain a commercial license,
|
||||
// please contact
|
||||
// EMail:1585346868@qq.com
|
||||
// Mobile:17367918735
|
||||
// QQ:1585346868
|
||||
|
||||
#include "process.h"
|
||||
#include "util/process.h"
|
||||
#ifdef _WIN32
|
||||
#include <Windows.h>
|
||||
|
||||
@@ -1,4 +1,30 @@
|
||||
#include "sys.h"
|
||||
// MIT License
|
||||
// Copyright(c) 2024 FastWeb - fwlua.com - nianhua
|
||||
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
// of this software and associated documentation files(the "Software"), to deal
|
||||
// in the Software without restriction, including without limitation the rights
|
||||
// to use, copy, modify, merge, publish, distribute, sublicense, and /or sell
|
||||
// copies of the Software, and to permit persons to whom the Software is
|
||||
// furnished to do so, subject to the following conditions :
|
||||
// The above copyright notice and this permission notice shall be included in all
|
||||
// copies or substantial portions of the Software.
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
|
||||
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
// SOFTWARE.
|
||||
// ## Additional Terms for Commercial Use
|
||||
// This software is licensed for personal, educational, and non - commercial use.
|
||||
// For commercial use or use within a company, organization, or institution, a
|
||||
// separate commercial license is required.To obtain a commercial license,
|
||||
// please contact
|
||||
// EMail:1585346868@qq.com
|
||||
// Mobile:17367918735
|
||||
// QQ:1585346868
|
||||
|
||||
#include "sys.h"
|
||||
#include "util/system.h"
|
||||
std::string module::sys::current_dir()
|
||||
{
|
||||
|
||||
@@ -1,4 +1,30 @@
|
||||
#include "time.h"
|
||||
// MIT License
|
||||
// Copyright(c) 2024 FastWeb - fwlua.com - nianhua
|
||||
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
// of this software and associated documentation files(the "Software"), to deal
|
||||
// in the Software without restriction, including without limitation the rights
|
||||
// to use, copy, modify, merge, publish, distribute, sublicense, and /or sell
|
||||
// copies of the Software, and to permit persons to whom the Software is
|
||||
// furnished to do so, subject to the following conditions :
|
||||
// The above copyright notice and this permission notice shall be included in all
|
||||
// copies or substantial portions of the Software.
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
|
||||
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
// SOFTWARE.
|
||||
// ## Additional Terms for Commercial Use
|
||||
// This software is licensed for personal, educational, and non - commercial use.
|
||||
// For commercial use or use within a company, organization, or institution, a
|
||||
// separate commercial license is required.To obtain a commercial license,
|
||||
// please contact
|
||||
// EMail:1585346868@qq.com
|
||||
// Mobile:17367918735
|
||||
// QQ:1585346868
|
||||
|
||||
#include "time.h"
|
||||
#include "util/time.h"
|
||||
uint64 module::time::now_msec()
|
||||
{
|
||||
|
||||
@@ -1,4 +1,30 @@
|
||||
#include "timer.h"
|
||||
// MIT License
|
||||
// Copyright(c) 2024 FastWeb - fwlua.com - nianhua
|
||||
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
// of this software and associated documentation files(the "Software"), to deal
|
||||
// in the Software without restriction, including without limitation the rights
|
||||
// to use, copy, modify, merge, publish, distribute, sublicense, and /or sell
|
||||
// copies of the Software, and to permit persons to whom the Software is
|
||||
// furnished to do so, subject to the following conditions :
|
||||
// The above copyright notice and this permission notice shall be included in all
|
||||
// copies or substantial portions of the Software.
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
|
||||
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
// SOFTWARE.
|
||||
// ## Additional Terms for Commercial Use
|
||||
// This software is licensed for personal, educational, and non - commercial use.
|
||||
// For commercial use or use within a company, organization, or institution, a
|
||||
// separate commercial license is required.To obtain a commercial license,
|
||||
// please contact
|
||||
// EMail:1585346868@qq.com
|
||||
// Mobile:17367918735
|
||||
// QQ:1585346868
|
||||
|
||||
#include "timer.h"
|
||||
#include "util/time.h"
|
||||
#include "util/system.h"
|
||||
#include "util/file.h"
|
||||
|
||||
@@ -1,3 +1,29 @@
|
||||
#include "luautils.h"
|
||||
// MIT License
|
||||
// Copyright(c) 2024 FastWeb - fwlua.com - nianhua
|
||||
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
// of this software and associated documentation files(the "Software"), to deal
|
||||
// in the Software without restriction, including without limitation the rights
|
||||
// to use, copy, modify, merge, publish, distribute, sublicense, and /or sell
|
||||
// copies of the Software, and to permit persons to whom the Software is
|
||||
// furnished to do so, subject to the following conditions :
|
||||
// The above copyright notice and this permission notice shall be included in all
|
||||
// copies or substantial portions of the Software.
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
|
||||
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
// SOFTWARE.
|
||||
// ## Additional Terms for Commercial Use
|
||||
// This software is licensed for personal, educational, and non - commercial use.
|
||||
// For commercial use or use within a company, organization, or institution, a
|
||||
// separate commercial license is required.To obtain a commercial license,
|
||||
// please contact
|
||||
// EMail:1585346868@qq.com
|
||||
// Mobile:17367918735
|
||||
// QQ:1585346868
|
||||
|
||||
#include "luautils.h"
|
||||
#include "core/define.h"
|
||||
#include "core/statemanager.h"
|
||||
@@ -1,4 +1,32 @@
|
||||
#pragma once
|
||||
|
||||
// MIT License
|
||||
// Copyright(c) 2024 FastWeb - fwlua.com - nianhua
|
||||
// Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
// of this software and associated documentation files(the "Software"), to deal
|
||||
// in the Software without restriction, including without limitation the rights
|
||||
// to use, copy, modify, merge, publish, distribute, sublicense, and /or sell
|
||||
// copies of the Software, and to permit persons to whom the Software is
|
||||
// furnished to do so, subject to the following conditions :
|
||||
// The above copyright notice and this permission notice shall be included in all
|
||||
// copies or substantial portions of the Software.
|
||||
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
|
||||
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
// SOFTWARE.
|
||||
// ## Additional Terms for Commercial Use
|
||||
// This software is licensed for personal, educational, and non - commercial use.
|
||||
// For commercial use or use within a company, organization, or institution, a
|
||||
// separate commercial license is required.To obtain a commercial license,
|
||||
// please contact
|
||||
// EMail:1585346868@qq.com
|
||||
// Mobile:17367918735
|
||||
// QQ:1585346868
|
||||
|
||||
|
||||
#pragma once
|
||||
#include <iostream>
|
||||
#include "core/entry.h"
|
||||
#include <filesystem>
|
||||
|
||||
Reference in New Issue
Block a user