'''
<insert purpose of Perk here>

@author: <author's name>
@organization: <author's organization (or None)>
@copyright: Copyright (c) <year and copyright holder>
@license: <license name>

All rights reserved. This program and the accompanying materials are made 
available under the terms of the <license name> which is available at
U{<license URL>}
'''
# import useful modules for Perks
import Perk, Task
from POR import POR
from i18n import _

class %(name)s(Perk.Perk):
  '''
  <description of the Perk to be reported to the user>
  '''
  def init(self):
    '''
    @todo: register Tasks and do Perk setup here
    '''
    self.registerEventTask(HandleFocusChange(self))
    
class HandleFocusChange(Task.FocusTask):
  '''  
  Example Task that handles a L{AEEvent.FocusChange} event.
  '''   
  def executeGained(self, por, **kwargs):
    '''
    @todo: do something on a focus gained event here
    '''
    self.say('%(name)s handling a focus change')