Freya  0.0.1
A Gtk3 MPD Client
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Data Structures | Public Member Functions
GManager::BrowserList Class Reference

List of Browsers in sidebar. More...

#include <BrowserList.hh>

Inheritance diagram for GManager::BrowserList:
[legend]
Collaboration diagram for GManager::BrowserList:
[legend]

Data Structures

class  ModelColumns

Public Member Functions

 BrowserList (MPD::Client &client, const Glib::RefPtr< Gtk::Builder > &builder)
void add (AbstractBrowser &browser)
 Add the browser to the list and manage it.
void set (AbstractBrowser &browser)
 Set a specfici browser.

Detailed Description

List of Browsers in sidebar.

Manages a list of AbstractBrowser and switches to the first browser that needs no connection on disconnect. Also supports hidden Browsers (Browser::Fortune e.g.)

Definition at line 48 of file BrowserList.hh.


Constructor & Destructor Documentation

GManager::BrowserList::BrowserList ( MPD::Client &  client,
const Glib::RefPtr< Gtk::Builder > &  builder 
)

Member Function Documentation

Add the browser to the list and manage it.

Parameters:
browserA user class that inherits from AbstractBrowser

Set a specfici browser.

Note: The browser should be already added with add()

Parameters:
browser

The documentation for this class was generated from the following file: