Changeset 5596
- Timestamp:
- 06/26/09 06:17:52 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Padre-Plugin-Swarm/lib/Padre/Plugin/Swarm.pm
r5594 r5596 68 68 $self->set_config( $config ); 69 69 70 $self->_load_everything; 71 70 72 $self->_start_transports; 71 73 $self->_start_services; … … 92 94 Surrender to the Swarm! 93 95 END_MESSAGE 94 96 $about->SetIcon( Padre::Wx::Icon::find( 'status/padre-plugin-swarm' ) ); 95 97 # Show the About dialog 96 98 Wx::AboutBox($about); … … 102 104 ### 103 105 # Private 106 107 sub _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 } 104 129 105 130 sub _start_transports {
Note: See TracChangeset
for help on using the changeset viewer.
