Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial implementation of the plugin framework #3661

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

jack9603301
Copy link
Contributor

@jack9603301 jack9603301 commented Jul 5, 2024

CMakeLists.txt Outdated Show resolved Hide resolved
@jack9603301
Copy link
Contributor Author

This framework will introduce a new dependency: yaml-cpp

This is to counter PR checks, because it seems that the PR's qt environment does not support some specific parameters of this function - the latest version of qt5 compiles fine on Linux

Signed-off-by: Ouyang Chunhui <[email protected]>
Since the plugin manager is an experimental feature, the compilation flag is turned off by default.

Signed-off-by: Ouyang Chunhui <[email protected]>
@jack9603301
Copy link
Contributor Author

@panpuchkov Can you take a look at this PR?

@panpuchkov
Copy link
Contributor

If we go with a plugin system, why do we need to have multiple #ifdef USE_PRINTER_SUPPORT, it looks weird.
If we don't want to have it as a built-in option and want to have a build option to include it or not, this is the case where it should be as a plugin.

@jack9603301
Copy link
Contributor Author

If we go with a plugin system, why do we need to have multiple #ifdef USE_PRINTER_SUPPORT, it looks weird.
If we don't want to have it as a built-in option and want to have a build option to include it or not, this is the case where it should be as a plugin.

In fact, this release has two features, one is plug-in support, and the other is a small patch that supports flameshot to send images directly to the printer.

You will find that these two are independent, and you are free to start either one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants