Logo Search packages:      
Sourcecode: gabber2 version File versions  Download package

Gabber::GabberApp Class Reference

#include <GabberApp.hh>

Inheritance diagram for Gabber::GabberApp:

Gabber::Singleton< T > Gabber::JabberConnection

List of all members.

Detailed Description

The main Gabber application object. This class is instantiated by main and is in control of the Gtk::Main loop. It is also the direct control over TCPTransmitter and jabberoo::Session. It therefore has functions such as login and logout which are preferred to accessing jabberoo::Session and TCPTransmitter directly.

Definition at line 54 of file GabberApp.hh.

Public Member Functions

void clean_disconnect ()
void connect (bool login=true)
 GabberApp (int argc, char **argv)
const jabberoo::Presence & get_my_presence ()
void get_password ()
Util::JIDList & getAgentList ()
Configurator & getConfigurator () const
FileTransferManager & getFileTransferManager () const
LogManagergetLogManager () const
PacketQueuegetPacketQueue ()
ResourceManagergetResourceManager () const
jabberoo::Session & getSession ()
TCPTransmittergetTransmitter ()
void init_win ()
bool is_connected ()
void quit ()
void run ()
void set_password (const std::string &password)

Static Public Member Functions

static GabberAppgetSingleton ()

Public Attributes

SigC::Signal0< void > evtConnected
SigC::Signal0< void > evtConnecting
SigC::Signal0< void > evtDisconnected
SigC::Signal0< void > evtLoggingIn
SigC::Signal0< void > evtReconnecting
SigC::Signal0< void > sigJoinGCDlg

Protected Member Functions

void on_discodb_filter (const jabberoo::DiscoDB::Item &item)
void on_evtDisconnected ()
void on_presence_request (const jabberoo::Presence &pres)
void on_presence_unsubscribed (const jabberoo::Presence &pres)
void on_queue_flushing ()
void on_server_disco (const jabberoo::DiscoDB::Item *item)
void on_serverchild_disco (const jabberoo::DiscoDB::Item *item)
void on_session_auth_error (int ErrorCode, const char *ErrorMsg)
void on_session_connected (const judo::Element &t)
void on_session_disconnected ()
void on_session_my_presence (const jabberoo::Presence &p)
void on_session_roster ()
void on_session_time (string &UTF8Time, string &UTF8TimeZone)
void on_session_version (string &name, string &version, string &os)
void on_transmitter_connected ()
void on_transmitter_disconnected ()
void on_transmitter_error (const string &emsg)
void on_transmitter_reconnect ()
void on_XML_ParserError (int error_code, const string &error_msg)
void on_XML_recv (const char *XML)
void on_XML_transmit (const char *XML)

Protected Attributes

ConnectionInfo _connection_info
jabberoo::Presence _currPresence
jabberoo::Session * _session

Static Protected Attributes

static T * ms_Singleton = 0

Private Member Functions

void finalize (void)

Private Attributes

Util::JIDList _agents
AutoAway * _autoaway
Configurator * _configurator
FileTransferManager * _ft_manager
Gtk::Main _GtkMain
bool _shutting_down

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

Generated by  Doxygen 1.6.0   Back to index