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 to reloadplugin and check sleep mode for an application using controller client #2690

Closed
nvaccessAuto opened this issue Sep 28, 2012 · 5 comments

Comments

@nvaccessAuto
Copy link

Reported by ovjforu on 2012-09-28 16:09
Hi,

I am submitting changes to add support for below two functionality in controller client.

  1. To reload plugins when requested.
  2. To check sleep mode status for a given application.

I have attached a zip file containing original files and one diff file.
Modified Files

  1. nvdaController.c
  2. nvdaController.idl
  3. nvdaControllerClient.def
  4. NVDAHelper.py
  5. nvdaHelperLocal.def
  6. speech.py

I have also attached the test code to test the functionality ( testRoutineForControllerClient.py)

Please let me know if you need more information. My contact details (ovjforu@gmail.com)

Thank you and have a great day.

@nvaccessAuto
Copy link
Author

Attachment patch.zip added by ovjforu on 2012-09-28 16:11
Description:
It is a zip file containing all the changes and diff file

@nvaccessAuto
Copy link
Author

Comment 1 by jteh on 2012-09-28 23:25
Please explain the use case for these changes. Thanks.

@nvaccessAuto
Copy link
Author

Comment 2 by ovjforu on 2012-09-29 16:18
Use case for reload plugin

  1. At present if we need to reload plugin then we need to go through menu bar. However if an external application wants to reload plugin ( say to change sleepmode or other fields); now it can do so. It only needs to make an api call and doesn't need to go through menu.

Use case for isAppInSleepMode

  1. external client making use of NVDA needs to know whether NVDA is in sleep mode or not for a certain application ( identified by application name - executable name ). This is useful for certain programs which wants to ensure certain behaviour ( sleep mode - ON/OFF). At the same time after toggling the status; it needs to ensure whether the change has taken place or not.

Please let me know if you need more information.

@bhavyashah
Copy link

@jcsteh @michaelDCurran Do the usage cases provided in #2690 (comment) suffice?

@jcsteh
Copy link
Contributor

jcsteh commented Aug 14, 2017

We really need practical use cases here, not theoretical ones. For example, why does your external application need to do these things? What is it actually trying to achieve from a user perspective?

Closing given the age of the issue and the fact that we can't contact the reporter any more.

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

4 participants