Changeset 5596


Ignore:
Timestamp:
06/26/09 06:17:52 (3 years ago)
Author:
submersible_toaster
Message:

more vanity and boilerplate

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Padre-Plugin-Swarm/lib/Padre/Plugin/Swarm.pm

    r5594 r5596  
    6868    $self->set_config( $config ); 
    6969     
     70    $self->_load_everything; 
     71     
    7072    $self->_start_transports; 
    7173    $self->_start_services; 
     
    9294Surrender to the Swarm! 
    9395END_MESSAGE 
    94  
     96    $about->SetIcon( Padre::Wx::Icon::find( 'status/padre-plugin-swarm' ) ); 
    9597    # Show the About dialog 
    9698    Wx::AboutBox($about); 
     
    102104### 
    103105# Private 
     106 
     107sub _load_everything { 
     108    my $self = shift; 
     109    my $config = $self->get_config;  
     110    # TODO bootstrap some config and construct 
     111    # services/transports. for now just multicast 
     112     
     113    $self->set_transports( 
     114        { 
     115            Padre::Swarm::Transport::Multicast->transport_name 
     116                => Padre::Swarm::Transport::Multicast->new 
     117        } 
     118    ); 
     119     
     120    $self->set_services( 
     121        { 
     122        # Chat, remote cursor/editor damage  
     123        #  , watch this space. 
     124        } 
     125    ); 
     126     
     127 
     128} 
    104129 
    105130sub _start_transports { 
Note: See TracChangeset for help on using the changeset viewer.