Skip to content

sharing the document between the c++ application, the API and the python script #4

@aoloe

Description

@aoloe
  • the c++ application might or not have an open document.
  • if there is an open document, it's shared with the API.
  • the API can modify the document.
  • while the script is running, the C++ application is not allowed to modify the document(s).
  • (eventually, trough the API it should be possible to change the current document to any other open document)
  • through the API, it should be possible to open documents / create new documents.
  • (eventually, the document will be left open when the script is finished)

in https://github.com/aoloe/cpp-pybind11-playground/tree/master/scripter-api i have a Sample::Document which is the document in the Sample C++ application and a ScripterAPI::Document which will be used to create the module for Python.

i'm now looking for a good (modern) way of managing the sharing of the Sample::Document...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions