Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/qv2ray/qvplugin-interface
Qv2ray 插件接口
https://github.com/qv2ray/qvplugin-interface
cpp interface qt qt5 qv2ray qv2ray-interface qv2ray-plugin qv2ray-plugin-interface
Last synced: 3 months ago
JSON representation
Qv2ray 插件接口
- Host: GitHub
- URL: https://github.com/qv2ray/qvplugin-interface
- Owner: Qv2ray
- License: mit
- Created: 2020-02-24T13:06:53.000Z (almost 5 years ago)
- Default Branch: interface-v3
- Last Pushed: 2022-07-19T20:24:11.000Z (over 2 years ago)
- Last Synced: 2023-03-04T18:02:54.118Z (almost 2 years ago)
- Topics: cpp, interface, qt, qt5, qv2ray, qv2ray-interface, qv2ray-plugin, qv2ray-plugin-interface
- Language: C++
- Homepage:
- Size: 76.2 KB
- Stars: 11
- Watchers: 9
- Forks: 16
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Qv2ray Plugin Interface
This repo holds necessary headers for you to write your own Qv2ray plugin.
## File Descriptions
- `Qv2rayPluginObjects.hpp`
- Contains necessary files to write a Kernel Plugin
- `Qv2rayPluginProcessor.hpp`
- Processor Object which receives event messages from Qv2ray
- `QvPluginInterface.hpp`
- Interface Object contains plugin metadata.
- `QvPluginInterfaceModels.hpp`
- Common data models and Enums for Plugin Metadata and Plugin Event Processor## How to write a plugin
1. Firstly you need to have a Qt library project: `*.so *.dll *.dylib`
2. Add this repository as a **git submodule** or as a **sub-directory**
3. Include **`QvPluginInterface.pri`** or **`QvPluginInterface.cmake`** into your project `pro` file or `CMakeLists.txt`
4. Write your own `QObject`, inherited from `Qv2rayPlugin::Qv2rayInterface`
5. ….