Changeset View
Changeset View
Standalone View
Standalone View
README.md
Show First 20 Lines • Show All 120 Lines • ▼ Show 20 Line(s) | |||||
121 | 121 | | |||
122 | #### Separate Process | 122 | #### Separate Process | ||
123 | Sometimes executing some actions through Qt code can require some extra work. | 123 | Sometimes executing some actions through Qt code can require some extra work. | ||
124 | For those cases, it's possible to implement the plugin in a separate process. | 124 | For those cases, it's possible to implement the plugin in a separate process. | ||
125 | It will require some extra work when it comes to implementing the feedback | 125 | It will require some extra work when it comes to implementing the feedback | ||
126 | process with the main process but it allows to run plugins in any imaginable | 126 | process with the main process but it allows to run plugins in any imaginable | ||
127 | technologies. | 127 | technologies. | ||
128 | 128 | | |||
129 | The file structure for these plugins is the one of defined by [KPackage](http://api.kde.org/frameworks-api/frameworks5-apidocs/kpackage/html/index.html) | 129 | The file structure for these plugins is the one of defined by [KPackage](https://api.kde.org/frameworks-api/frameworks5-apidocs/kpackage/html/index.html) | ||
130 | which allows to package and distributethe plugins in an archive. | 130 | which allows to package and distributethe plugins in an archive. | ||
131 | 131 | | |||
132 | To that end, we will need to provide: | 132 | To that end, we will need to provide: | ||
133 | * A `manifest.json` file, that will define the plugin description, capabilities | 133 | * A `manifest.json` file, that will define the plugin description, capabilities | ||
134 | and requirements. | 134 | and requirements. | ||
135 | * A `code/main*` file that will be executed when the plugin action needs happen. | 135 | * A `code/main*` file that will be executed when the plugin action needs happen. | ||
136 | * A `config/config.qml` file that will be in charge of requesting the necessary | 136 | * A `config/config.qml` file that will be in charge of requesting the necessary | ||
137 | information to the user. | 137 | information to the user. | ||
Show All 14 Lines |