The attached patch contains the rest of the older patch using the new plugindata API in lua. It takes care of requesting the handler. Modifies the get_level function to use it and adds a set_level function. Finally it also adds the propper callbacks for the set_level function.
** Patch added: "Patch to use a plugindata as level and handle it properly. Copyright assigned to Jacek Sieka" https://bugs.launchpad.net/adchpp/+bug/1038556/+attachment/3520476/+files/session_level_v3.patch -- You received this bug notification because you are a member of Dcplusplus-team, which is subscribed to ADCH++. https://bugs.launchpad.net/bugs/1038556 Title: Per session level handling Status in ADCH++: New Bug description: This patch provides a per session element with some user data, currently this is just the level but in the future it could be other data. Similarly it modifies all the other example scripts so they use get_level and thus the session based level. To manage notifications about this bug go to: https://bugs.launchpad.net/adchpp/+bug/1038556/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~linuxdcpp-team Post to : [email protected] Unsubscribe : https://launchpad.net/~linuxdcpp-team More help : https://help.launchpad.net/ListHelp

