## rb-playlist-source-recorder

rb-playlist-source-recorder

## Synopsis

    typedef             RBPlaylistSourceRecorderPrivate;
    gboolean            (*RBPlaylistSourceIterFunc)         (GtkTreeModel *model,
                                                             GtkTreeIter *iter,
                                                             char **uri,
                                                             char **artist,
                                                             char **title,
                                                             gulong *duration);
    GtkWidget*          rb_playlist_source_recorder_new     (GtkWidget *parent,
                                                             RBShell *shell,
                                                             RBPlugin *plugin,
                                                             const char *name);
    void                rb_playlist_source_recorder_set_name
                                                            (RBPlaylistSourceRecorder *recorder,
                                                             const char *name,
                                                             GError **error);
    gboolean            rb_playlist_source_recorder_add_from_model
                                                            (RBPlaylistSourceRecorder *recorder,
                                                             GtkTreeModel *model,
                                                             RBPlaylistSourceIterFunc func,
                                                             GError **error);
    void                rb_playlist_source_recorder_add_uri (RBPlaylistSourceRecorder *recorder,
                                                             const char *uri,
                                                             GError **error);
    void                rb_playlist_source_recorder_start   (RBPlaylistSourceRecorder *recorder,
                                                             GError **error);
    void                rb_playlist_source_recorder_stop    (RBPlaylistSourceRecorder *recorder,
                                                             GError **error);

## Description

## Details

### RBPlaylistSourceRecorderPrivate

    typedef struct RBPlaylistSourceRecorderPrivate RBPlaylistSourceRecorderPrivate;

### RBPlaylistSourceIterFunc ()

    gboolean            (*RBPlaylistSourceIterFunc)         (GtkTreeModel *model,
                                                             GtkTreeIter *iter,
                                                             char **uri,
                                                             char **artist,
                                                             char **title,
                                                             gulong *duration);

`model` : |
`iter` : |
`uri` : |
`artist` : |
`title` : |
`duration` : |
Returns : |

### rb_playlist_source_recorder_new ()

    GtkWidget*          rb_playlist_source_recorder_new     (GtkWidget *parent,
                                                             RBShell *shell,
                                                             RBPlugin *plugin,
                                                             const char *name);

`parent` : |
`shell` : |
`plugin` : |
`name` : |
Returns : |

### rb_playlist_source_recorder_set_name ()

    void                rb_playlist_source_recorder_set_name
                                                            (RBPlaylistSourceRecorder *recorder,
                                                             const char *name,
                                                             GError **error);

`recorder` : |
`name` : |
`error` : |

### rb_playlist_source_recorder_add_from_model ()

    gboolean            rb_playlist_source_recorder_add_from_model
                                                            (RBPlaylistSourceRecorder *recorder,
                                                             GtkTreeModel *model,
                                                             RBPlaylistSourceIterFunc func,
                                                             GError **error);

`recorder` : |
`model` : |
`func` : |
`error` : |
Returns : |

### rb_playlist_source_recorder_add_uri ()

    void                rb_playlist_source_recorder_add_uri (RBPlaylistSourceRecorder *recorder,
                                                             const char *uri,
                                                             GError **error);

`recorder` : |
`uri` : |
`error` : |

### rb_playlist_source_recorder_start ()

    void                rb_playlist_source_recorder_start   (RBPlaylistSourceRecorder *recorder,
                                                             GError **error);

`recorder` : |
`error` : |

### rb_playlist_source_recorder_stop ()

    void                rb_playlist_source_recorder_stop    (RBPlaylistSourceRecorder *recorder,
                                                             GError **error);

`recorder` : |
`error` : |