Changeset 11369

Show
Ignore:
Timestamp:
05/11/08 00:56:26 (5 years ago)
Author:
hio
Message:

Auto::FetchTitle::Plugin, ユーティリティメソッドを追加.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/perl/tiarra/trunk/module/Auto/FetchTitle/Plugin.pm

    r10891 r11369  
    2727  $this->{hook}   = undef; 
    2828  $this; 
     29} 
     30 
     31# ----------------------------------------------------------------------------- 
     32# $pkg->config(). 
     33# (util) 
     34# 
     35sub config 
     36{ 
     37  shift->{config} 
     38} 
     39 
     40# ----------------------------------------------------------------------------- 
     41# $pkg->notice($msg). 
     42# (util) 
     43# 
     44sub notice 
     45{ 
     46  my $this = shift; 
     47  my $msg  = shift; 
     48  defined($msg) or $msg = ''; 
     49  RunLoop->shared_loop->notify_msg($msg); 
    2950} 
    3051