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

Support Quentier app processes discovery and communication about the currently used accounts #97

Open
d1vanov opened this issue Mar 2, 2017 · 2 comments

Comments

@d1vanov
Copy link
Owner

d1vanov commented Mar 2, 2017

When a new Quentier app instance is started, it should be possible to discover whether other app instances are running and if so, which accounts (and in which storage folders) they are serving so that two instances won't attempt to manage the same account within the same storage folder.

@d1vanov
Copy link
Owner Author

d1vanov commented Mar 2, 2017

I hoped to use Qt Dbus for this but it appears it is only adequately supported on Linux. Probably it makes sense to implement Dbus interface for Quentier anyway (as Linux is the primary target platform) but some solution for Windows and OS X would be required as well. Need to see whether something useful can be found in boost::interprocess library.

@d1vanov
Copy link
Owner Author

d1vanov commented Mar 2, 2017

Should also look at this - probably not immediately useful but can use the ideas behind the design to implement some shared memory-based solution.

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

No branches or pull requests

1 participant