File indexing completed on 2024-04-21 05:44:49
0001 # -*- coding: UTF-8 -*- 0002 0003 """ 0004 Hooks which do nothing. 0005 0006 No-operation hooks may be useful in situations where application of a hook 0007 is necessary, or when a previously set hook needs to be canceled. 0008 0009 @author: Chusslove Illich (Часлав Илић) <caslav.ilic@gmx.net> 0010 @license: GPLv3 0011 """ 0012 0013 def text (text): 0014 """ 0015 Return text as given [type F1A hook]. 0016 """ 0017 0018 return text 0019 0020 0021 def textm (text, msg, cat): 0022 """ 0023 Return text as given [type F3A hook]. 0024 """ 0025 0026 return text 0027 0028 0029 def msg (msg, cat): 0030 """ 0031 Do nothing on the message [type F4A hook]. 0032 """ 0033 0034 return 0 0035 0036 0037 def hdr (hdr, cat): 0038 """ 0039 Do nothing on the header [type F4B hook]. 0040 """ 0041 0042 return 0 0043 0044 0045 def cat (cat): 0046 """ 0047 Do nothing on the catalog [type F5A hook]. 0048 """ 0049 0050 return 0 0051 0052 0053 def path (path): 0054 """ 0055 Do nothing on the path [type F6A hook]. 0056 """ 0057 0058 return 0 0059