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 | Data Fields | Protected Member Functions | Protected Attributes
Avahi::View Class Reference

Representation of the Avahi::Browser, do not use this yourself. More...

#include <View.hh>

Inheritance diagram for Avahi::View:
[legend]
Collaboration diagram for Avahi::View:
[legend]

Data Structures

class  ModelColumns

Public Member Functions

 View ()
void server_append (const char *ip, const char *hostname, const char *name, unsigned int port)
 Append a new server to the View.
void server_delete (const char *name)
 Delete a server by it's name.
void set_status (const char *message)
 Set the status label.

Data Fields

sigc::signal< void,
Glib::ustring, Glib::ustring,
Glib::ustring, unsigned int > 
signal_select

Protected Member Functions

void on_button_cancel ()
void on_button_select ()

Protected Attributes

ModelColumns m_Columns
Gtk::VBox m_VBox
Gtk::ScrolledWindow m_ScrolledWindow
Gtk::TreeView m_TreeView
Glib::RefPtr< Gtk::ListStore > m_refTreeModel
Gtk::HButtonBox m_ButtonBox
Gtk::Button m_Button_Cancel
Gtk::Button m_Button_Select
Gtk::Label m_Status_Label
Gtk::Separator m_CtrlSep

Detailed Description

Representation of the Avahi::Browser, do not use this yourself.

Definition at line 41 of file View.hh.


Constructor & Destructor Documentation


Member Function Documentation

void Avahi::View::on_button_cancel ( ) [protected]
void Avahi::View::on_button_select ( ) [protected]
void Avahi::View::server_append ( const char *  ip,
const char *  hostname,
const char *  name,
unsigned int  port 
)

Append a new server to the View.

Parameters:
ipthe ip field
hostnamethe hostname
nameserver name (chosen by the admin)
portThe port we'd onnect to
void Avahi::View::server_delete ( const char *  name)

Delete a server by it's name.

Parameters:
namethe name of the server (which is hopefully unique)
void Avahi::View::set_status ( const char *  message)

Set the status label.

Parameters:
message

Field Documentation

Gtk::Button Avahi::View::m_Button_Cancel [protected]

Definition at line 105 of file View.hh.

Gtk::Button Avahi::View::m_Button_Select [protected]

Definition at line 106 of file View.hh.

Gtk::HButtonBox Avahi::View::m_ButtonBox [protected]

Definition at line 104 of file View.hh.

Definition at line 95 of file View.hh.

Gtk::Separator Avahi::View::m_CtrlSep [protected]

Definition at line 108 of file View.hh.

Glib::RefPtr<Gtk::ListStore> Avahi::View::m_refTreeModel [protected]

Definition at line 102 of file View.hh.

Gtk::ScrolledWindow Avahi::View::m_ScrolledWindow [protected]

Definition at line 100 of file View.hh.

Gtk::Label Avahi::View::m_Status_Label [protected]

Definition at line 107 of file View.hh.

Gtk::TreeView Avahi::View::m_TreeView [protected]

Definition at line 101 of file View.hh.

Gtk::VBox Avahi::View::m_VBox [protected]

Definition at line 98 of file View.hh.

sigc::signal<void,Glib::ustring,Glib::ustring,Glib::ustring, unsigned int> Avahi::View::signal_select

Definition at line 69 of file View.hh.


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