Changeset 209109a6d1d915495bb702a502cdce6780fa8966

Show
Ignore:
Timestamp:
01/06/07 23:28:29 (6 years ago)
Author:
Philipp Kern <phil@…>
Parents:
7d6376a1a8f3b6bbe625db18ac669845b63da897
Children:
15fa690d5bb031662722101d70a98cf147e87cd2
git-committer:
Philipp Kern <phil@0x539.de> / 2007-01-06T22:28:29Z+0000
Message:

[project @ Fixed indenting spaces to be tabs]

Original author: Benjamin Herr <ben@…>
Date: 2005-04-07 12:11:12+00:00

Files:
3 modified

Legend:

Unmodified
Added
Removed
  • inc/chat.hpp

    r4ab49e4 r209109a  
    4949        void obby_document_insert(obby::document& document); 
    5050        void obby_document_remove(obby::document& document); 
    51   void obby_message(obby::user& user, const Glib::ustring& message); 
    52   void obby_server_message(const Glib::ustring& message); 
     51        void obby_message(obby::user& user, const Glib::ustring& message); 
     52        void obby_server_message(const Glib::ustring& message); 
    5353protected: 
    5454        void on_chat(); 
  • inc/window.hpp

    r4ab49e4 r209109a  
    4545        void on_quit(); 
    4646 
    47   void on_chat(const Glib::ustring& message); 
     47        void on_chat(const Glib::ustring& message); 
    4848 
    4949        // Obby signal handlers 
     
    5757        void on_obby_document_remove(obby::document& document); 
    5858 
    59   void on_obby_server_chat(const Glib::ustring& message); 
    60   void on_obby_chat(obby::user& user, const Glib::ustring& message); 
     59        void on_obby_server_chat(const Glib::ustring& message); 
     60        void on_obby_chat(obby::user& user, const Glib::ustring& message); 
    6161 
    6262        bool on_timer(); 
  • src/window.cpp

    r4ab49e4 r209109a  
    4040                sigc::mem_fun(*this, &Window::on_quit) ); 
    4141 
    42   m_chat.chat_event().connect( 
    43     sigc::mem_fun(*this, &Window::on_chat) ); 
     42        m_chat.chat_event().connect( 
     43                sigc::mem_fun(*this, &Window::on_chat) ); 
    4444 
    4545        m_frame_chat.set_shadow_type(Gtk::SHADOW_IN); 
     
    102102                        sigc::mem_fun(*this, &Window::on_obby_document_remove)); 
    103103 
    104     m_buffer->message_event().connect( 
    105       sigc::mem_fun(*this, &Window::on_obby_chat) ); 
    106     m_buffer->server_message_event().connect( 
    107       sigc::mem_fun(*this, &Window::on_obby_server_chat) ); 
     104                m_buffer->message_event().connect( 
     105                        sigc::mem_fun(*this, &Window::on_obby_chat) ); 
     106                m_buffer->server_message_event().connect( 
     107                        sigc::mem_fun(*this, &Window::on_obby_server_chat) ); 
    108108 
    109109 
     
    237237 
    238238void Gobby::Window::on_chat(const Glib::ustring& message) { 
    239   if (m_running) 
    240     m_buffer->send_message(message); 
    241   else 
    242     throw std::runtime_error("tried to send chat message while not connected"); 
     239        if (m_running) 
     240                m_buffer->send_message(message); 
     241        else 
     242                throw std::runtime_error("tried to send chat message while not connected"); 
    243243} 
    244244 
     
    278278void Gobby::Window::on_obby_chat(obby::user& user, const Glib::ustring& message) 
    279279{ 
    280   m_chat.obby_message(user, message); 
     280        m_chat.obby_message(user, message); 
    281281} 
    282282 
    283283void Gobby::Window::on_obby_server_chat(const Glib::ustring& message) 
    284284{ 
    285   m_chat.obby_server_message(message); 
     285        m_chat.obby_server_message(message); 
    286286} 
    287287