pub trait FormatterExt: 'static {
    fn load_from_uri(
        &self,
        timeline: &impl IsA<Timeline>,
        uri: &str
    ) -> Result<(), Error>;
fn save_to_uri(
        &self,
        timeline: &impl IsA<Timeline>,
        uri: &str,
        overwrite: bool
    ) -> Result<(), Error>; }
Expand description

Required methods

👎 Deprecated:

Since 1.18

Load data from the given URI into timeline.

Deprecated since 1.18

Use TimelineExt::load_from_uri()

timeline

a Timeline

uri

a gchar * pointing to a URI

Returns

TRUE if the timeline data was successfully loaded from the URI, else FALSE.

👎 Deprecated:

Since 1.18

Save data from timeline to the given URI.

Deprecated since 1.18

Use TimelineExt::save_to_uri()

timeline

a Timeline

uri

a gchar * pointing to a URI

overwrite

true to overwrite file if it exists

Returns

TRUE if the timeline data was successfully saved to the URI else FALSE.

Implementors