plugin base class
git-svn-id: https://svn.perl.org/qpsmtpd/branches/v010@32 958fd67b-6ff1-0310-b445-bb7760255be9
This commit is contained in:
parent
fd3284ab88
commit
ae8adc41a2
17
lib/Qpsmtpd/Plugin.pm
Normal file
17
lib/Qpsmtpd/Plugin.pm
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
package Qpsmtpd::Plugin;
|
||||||
|
use strict;
|
||||||
|
|
||||||
|
sub new {
|
||||||
|
my $proto = shift;
|
||||||
|
my $class = ref($proto) || $proto;
|
||||||
|
bless ({}, $class);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
sub register_hook {
|
||||||
|
warn "REGISTER HOOK!";
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
1;
|
Loading…
Reference in New Issue
Block a user