| Devel-ebug-Wx documentation | Contained in the Devel-ebug-Wx distribution. |
Devel::ebug::Wx::Service::Base - base class for services
use base qw(Devel::ebug::Wx::Service::Base);
# it's a subclass of Class::Accessor::Fast
__PACKAGE__->mk_accessors( qw(foo moo) );
# override one or more of the stub methods
sub initialize { my( $self, $manager ) = @_; # ... }
sub load_configuration { my( $self ) = @_; # ... }
sub save_configuration { my( $self ) = @_; # ... }
sub finalize { my( $self ) = @_; # ... }
Useful superclass for all services.
Devel::ebug::Wx::ServiceManager
| Devel-ebug-Wx documentation | Contained in the Devel-ebug-Wx distribution. |
package Devel::ebug::Wx::Service::Base; use strict; use base qw(Class::Accessor::Fast);
__PACKAGE__->mk_accessors( qw(initialized finalized) ); # empty base implementations sub initialize { my( $self, $manager ) = @_; } sub load_configuration { my( $self ) = @_; } sub save_configuration { my( $self ) = @_; } sub finalize { my( $self ) = @_; }
1;