Add saving API, unimplemented.
This commit is contained in:
parent
6b14d9e883
commit
49ef39ac7c
@ -98,6 +98,25 @@
|
||||
(return-type "none")
|
||||
)
|
||||
|
||||
(define-method save_uri
|
||||
(of-object "SugarBrowser")
|
||||
(c-name "sugar_browser_save_uri")
|
||||
(return-type "none")
|
||||
(parameters
|
||||
'("const-char*" "uri")
|
||||
'("const-char*" "filename")
|
||||
)
|
||||
)
|
||||
|
||||
(define-method save_document
|
||||
(of-object "SugarBrowser")
|
||||
(c-name "sugar_browser_save_document")
|
||||
(return-type "none")
|
||||
(parameters
|
||||
'("const-char*" "filename")
|
||||
)
|
||||
)
|
||||
|
||||
(define-method create_window
|
||||
(of-object "SugarBrowser")
|
||||
(c-name "sugar_browser_create_window")
|
||||
|
@ -484,8 +484,21 @@ sugar_browser_grab_focus(SugarBrowser *browser)
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
sugar_browser_save_uri(SugarBrowser *browser,
|
||||
const char *uri,
|
||||
const char *filename)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
sugar_browser_save_document(SugarBrowser *browser,
|
||||
const char *filename)
|
||||
{
|
||||
}
|
||||
|
||||
GType
|
||||
sugar_browser_event_get_type (void)
|
||||
sugar_browser_event_get_type(void)
|
||||
{
|
||||
static GType type = 0;
|
||||
|
||||
|
@ -63,6 +63,11 @@ void sugar_browser_scroll_pixels (SugarBrowser *browser,
|
||||
int dx,
|
||||
int dy);
|
||||
void sugar_browser_grab_focus (SugarBrowser *browser);
|
||||
void sugar_browser_save_uri (SugarBrowser *browser,
|
||||
const char *uri,
|
||||
const char *filename);
|
||||
void sugar_browser_save_document (SugarBrowser *browser,
|
||||
const char *filename);
|
||||
|
||||
gboolean sugar_browser_startup (const char *profile_path,
|
||||
const char *profile_name);
|
||||
|
Loading…
Reference in New Issue
Block a user