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

Extend the ctkPluginFrameworkLauncher convenience run method to accept cl args #603

Conversation

CJGoch
Copy link
Contributor

@CJGoch CJGoch commented Sep 21, 2015

Previously one either had the choice of using the convenience run method,
without having the option of handling command line arguments, or handling
startup etc oneself. This change will add an additional parameter to the
convenience run method which takes the command line arguments and hands
them through.

cc: @saschazelzer

@jcfr
Copy link
Member

jcfr commented Sep 21, 2015

👍

@jcfr
Copy link
Member

jcfr commented Oct 10, 2015

@espakm @saschazelzer Does this look good for you ? After squashing the commit together, should this be integrated ? Thanks for reviewing.

@@ -107,10 +107,11 @@ class CTK_PLUGINFW_EXPORT ctkPluginFrameworkLauncher
*
* @param endSplashHandler the block of code to run to tear down the splash
* screen or <code>null</code> if no tear down is required
* @param argument the argument passed to the application. May be <code>null</code>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of "may be null", I suggest: "Default is QVariant()."

@espakm
Copy link
Contributor

espakm commented Oct 10, 2015

@jcfr Yes, that's good. I've been using this commit for a while, it works well.

Previously one either had the choice of using the convenience run method,
without having the option of handling command line arguments, or handling
startup etc oneself. This change will add an additional parameter to the
convenience run method which takes the command line arguments and hands
them through.
@CJGoch CJGoch force-pushed the extend-convenience-run-to-hand-through-cl-arguments branch from 90d1728 to 2544509 Compare November 3, 2015 16:38
@CJGoch
Copy link
Contributor Author

CJGoch commented Nov 3, 2015

Incorporated hmeines comment and squashed the result. Is there anything left to do?

@espakm
Copy link
Contributor

espakm commented Nov 3, 2015

👍

1 similar comment
@jcfr
Copy link
Member

jcfr commented Nov 4, 2015

👍

jcfr added a commit that referenced this pull request Nov 4, 2015
…rough-cl-arguments

Extend the ctkPluginFrameworkLauncher convenience run method to accept cl args
@jcfr jcfr merged commit bd092b1 into commontk:master Nov 4, 2015
@CJGoch CJGoch deleted the extend-convenience-run-to-hand-through-cl-arguments branch November 4, 2015 12:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

4 participants