-mouse_button::state FuncRequest::button() const
-{
- return button_;
-}
-
-
-void splitArg(vector<string> & args, string const & str)
+// Extracts arguments from str into args. Arguments are delimited by
+// whitespace or by double quotes.
+// We extract at most max + 1 arguments, treating args[max] as
+// continuing to eol.
+void splitArg(vector<string> & args, string const & str,
+ unsigned int max = UINT_MAX)