summaryrefslogtreecommitdiffstats
path: root/client/application.h
diff options
context:
space:
mode:
authorYaniv Kamay <ykamay@redhat.com>2010-01-11 19:57:29 +0200
committerYaniv Kamay <ykamay@redhat.com>2010-01-11 19:57:29 +0200
commit8ceb531958cb649b7cc7f16f2f504125cb430fe4 (patch)
tree847f4325a37ce7bfccf6a469659b11f775cc3e62 /client/application.h
parent3c1ff6448d847e6e96425fa166446b99bac5e592 (diff)
downloadspice-8ceb531958cb649b7cc7f16f2f504125cb430fe4.tar.gz
spice-8ceb531958cb649b7cc7f16f2f504125cb430fe4.tar.xz
spice-8ceb531958cb649b7cc7f16f2f504125cb430fe4.zip
client: add Platform::term_printf
Platform::term_printf is a variant of printf that on windows dynamically opens console in order to have visible output during command line processing.
Diffstat (limited to 'client/application.h')
-rw-r--r--client/application.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/client/application.h b/client/application.h
index e1c702db..47cf29ef 100644
--- a/client/application.h
+++ b/client/application.h
@@ -216,11 +216,12 @@ public:
static int main(int argc, char** argv, const char* version_str);
private:
- bool set_channels_security(CmdLineParser& parser, bool on, char *val);
- bool set_enable_channels(CmdLineParser& parser, bool enable, char *val);
- bool set_canvas_option(CmdLineParser& parser, char *val);
- void register_channels();
+ bool set_channels_security(CmdLineParser& parser, bool on, char *val, const char* arg0);
+ bool set_enable_channels(CmdLineParser& parser, bool enable, char *val, const char* arg0);
+ bool set_canvas_option(CmdLineParser& parser, char *val, const char* arg0);
+ void on_cmd_line_invalid_arg(const char* arg0, const char* what, const char* val);
bool process_cmd_line(int argc, char** argv);
+ void register_channels();
void abort();
void init_menu();
void unpress_all();