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

This class offers a simple Zeroconf Serverbrowser. More...

#include <Browser.hh>

Public Member Functions

 Browser ()
 Instance the underlying browser and already start querying.
 ~Browser ()
 Clean up before you can instance another one.
Gtk::Window & get_window ()
 Get the Gtk::Window of the view.
bool is_connected ()
 Check if Browser is ready for use.
SelectNotify & signal_selection_done ()
 Call connect on.

Detailed Description

This class offers a simple Zeroconf Serverbrowser.

It also instances a View of it (Avahi::View) To show the window call show() on get_window()

Definition at line 56 of file Browser.hh.


Constructor & Destructor Documentation

Instance the underlying browser and already start querying.

Clean up before you can instance another one.


Member Function Documentation

Gtk::Window& Avahi::Browser::get_window ( )

Get the Gtk::Window of the view.

Returns:
a reference to Gtk::Window, you might want to call show() on it

Check if Browser is ready for use.

Returns:
obvious.

Call connect on.

See the typedef above, for the needed prototype

Returns:
a sigc::signal on which you can call conncet()

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