## RBLibrarySource

RBLibrarySource — main library source, containing all local songs

## Synopsis

    struct              RBLibrarySource;
    struct              RBLibrarySourceClass;
    RBSource *          rb_library_source_new               (RBShell *shell);
    void                rb_library_source_show_import_dialog
                                                            (RBLibrarySource *source);

## Object Hierarchy

      GObject
       +----GInitiallyUnowned
             +----GtkWidget
                   +----GtkContainer
                         +----GtkBox
                               +----GtkHBox
                                     +----RBDisplayPage
                                           +----RBSource
                                                 +----RBBrowserSource
                                                       +----RBLibrarySource

## Implemented Interfaces

RBLibrarySource implements AtkImplementorIface, GtkBuildable and GtkOrientable.

## Description

The library source contains all local songs that have been imported into the database.

It provides a preferences page for configuring the library location, the directory structure to use when transferring new files into the library from another source, and the preferred audio encoding to use.

If multiple library locations are configured, the library source creates a child source for each location, which will only show files found under that location.

## Details

### struct RBLibrarySource

    struct RBLibrarySource;

### struct RBLibrarySourceClass

    struct RBLibrarySourceClass {
    	RBBrowserSourceClass parent;
    };

### rb_library_source_new ()

    RBSource *          rb_library_source_new               (RBShell *shell);

Creates and returns the RBLibrarySource instance

`shell` : | the RBShell
Returns : | the RBLibrarySource

### rb_library_source_show_import_dialog ()

    void                rb_library_source_show_import_dialog
                                                            (RBLibrarySource *source);