# -*- coding: utf-8 -*-

from pynicotine.pluginsystem import BasePlugin

class Plugin(BasePlugin):
    __name__ = "Plugin Tester"
    __version__ = "2009-05-25r00"
    def init(self):
        self.log('init')
    def LoadEvent(self):
        self.log('LoadEvent')
        pass
    def IncomingPrivateChatEvent(self, user, line):
        self.log('IncomingPrivateChatEvent user=%s, line=%s' % (user, line))
        pass
    def IncomingPrivateChatNotification(self, user, line):
        self.log('IncomingPrivateChatNotification, user=%s, line=%s' % (user, line))
        pass
    def IncomingPublicChatEvent(self, room, user, line):
        self.log('IncomingPublicChatEvent, room=%s, user=%s, line=%s' % (room, user, line))
        pass
    def IncomingPublicChatNotification(self, room, user, line):
        self.log('IncomingPublicChatNotification, room=%s, user=%s, line=%s' % (room, user, line))
        pass
    def OutgoingPrivateChatEvent(self, user, line):
        self.log('OutgoingPrivateChatEvent, user=%s, line=%s' % (user, line))
        pass
    def OutgoingPrivateChatNotification(self, user, line):
        self.log('OutgoingPrivateChatNotification, user=%s, line=%s' % (room, line))
        pass
    def OutgoingPublicChatEvent(self, room, line):
        self.log('OutgoingPublicChatEvent, room=%s, line=%s' % (room, line))
        pass
    def OutgoingPublicChatNotification(self, room, line):
        self.log('OutgoingPublicChatNotification, room=%s, line=%s' % (room, line))
        pass
    def OutgoingGlobalSearchEvent(self, text):
        self.log('OutgoingGlobalSearchEvent, text=%s' % (text,))
        pass
    def OutgoingRoomSearchEvent(self, rooms, text):
        self.log('OutgoingRoomSearchEvent, rooms=%s, text=%s' % (rooms, text))
        pass
    def OutgoingBuddySearchEvent(self, text):
        self.log('OutgoingBuddySearchEvent, text=%s' % (text,))
        pass
    def OutgoingUserSearchEvent(self, users):
        self.log('OutgoingUserSearchEvent, users=%s' % (users,))
        pass
    def UserResolveNotification(self, user, ip, port, country):
        self.log('UserResolveNotification, user=%s, ip=%s, port=%s, country=%s' % (user, ip, port, country))
        pass
    def ServerConnectNotification(self):
        self.log('ServerConnectNotification')
        pass
    def ServerDisconnectNotification(self):
        self.log('ServerDisconnectNotification')
        pass
    def JoinChatroomNotification(self, room):
        self.log('JoinChatroomNotification, room=%s' % (room,))
        pass
    def LeaveChatroomNotification(self, room):
        self.log('LeaveChatroomNotification, room=%s' % (room,))
        pass

