@@ -41,6 +41,15 @@ pub trait ApplicationCommandLineExt:
4141 }
4242 }
4343
44+ #[ cfg( feature = "v2_80" ) ]
45+ #[ cfg_attr( docsrs, doc( cfg( feature = "v2_80" ) ) ) ]
46+ #[ doc( alias = "g_application_command_line_done" ) ]
47+ fn done ( & self ) {
48+ unsafe {
49+ ffi:: g_application_command_line_done ( self . as_ref ( ) . to_glib_none ( ) . 0 ) ;
50+ }
51+ }
52+
4453 #[ doc( alias = "g_application_command_line_get_arguments" ) ]
4554 #[ doc( alias = "get_arguments" ) ]
4655 fn arguments ( & self ) -> Vec < std:: ffi:: OsString > {
@@ -138,11 +147,35 @@ pub trait ApplicationCommandLineExt:
138147 // unsafe { TODO: call ffi:g_application_command_line_print() }
139148 //}
140149
150+ #[ cfg( feature = "v2_80" ) ]
151+ #[ cfg_attr( docsrs, doc( cfg( feature = "v2_80" ) ) ) ]
152+ #[ doc( alias = "g_application_command_line_print_literal" ) ]
153+ fn print_literal ( & self , message : & str ) {
154+ unsafe {
155+ ffi:: g_application_command_line_print_literal (
156+ self . as_ref ( ) . to_glib_none ( ) . 0 ,
157+ message. to_glib_none ( ) . 0 ,
158+ ) ;
159+ }
160+ }
161+
141162 //#[doc(alias = "g_application_command_line_printerr")]
142163 //fn printerr(&self, format: &str, : /*Unknown conversion*//*Unimplemented*/Basic: VarArgs) {
143164 // unsafe { TODO: call ffi:g_application_command_line_printerr() }
144165 //}
145166
167+ #[ cfg( feature = "v2_80" ) ]
168+ #[ cfg_attr( docsrs, doc( cfg( feature = "v2_80" ) ) ) ]
169+ #[ doc( alias = "g_application_command_line_printerr_literal" ) ]
170+ fn printerr_literal ( & self , message : & str ) {
171+ unsafe {
172+ ffi:: g_application_command_line_printerr_literal (
173+ self . as_ref ( ) . to_glib_none ( ) . 0 ,
174+ message. to_glib_none ( ) . 0 ,
175+ ) ;
176+ }
177+ }
178+
146179 #[ doc( alias = "g_application_command_line_set_exit_status" ) ]
147180 fn set_exit_status ( & self , exit_status : i32 ) {
148181 unsafe {
0 commit comments