mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2025-09-05 01:10:12 +02:00
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@75077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
25 lines
801 B
Python
25 lines
801 B
Python
'''
|
|
Aggregates policies for pubsub. Mainly, related to messaging protocol.
|
|
|
|
:copyright: Copyright since 2006 by Oliver Schoenborn, all rights reserved.
|
|
:license: BSD, see LICENSE_BSD_Simple.txt for details.
|
|
'''
|
|
|
|
msgProtocolTransStage = None
|
|
|
|
msgDataProtocol = 'kwargs'
|
|
msgDataArgName = None
|
|
senderKwargNameAny = False
|
|
|
|
|
|
def setMsgDataArgName(stage, listenerArgName, senderArgNameAny=False):
|
|
global senderKwargNameAny
|
|
global msgDataArgName
|
|
global msgProtocolTransStage
|
|
senderKwargNameAny = senderArgNameAny
|
|
msgDataArgName = listenerArgName
|
|
msgProtocolTransStage = stage
|
|
#print `policies.msgProtocolTransStage`, `policies.msgDataProtocol`, \
|
|
# `policies.senderKwargNameAny`, `policies.msgDataArgName`
|
|
#print 'override "arg1" protocol arg name:', argName
|