1# Copyright (C) 2009-2010  Alexander Cherniuk <ts33kr@gmail.com>
2#
3# This program is free software: you can redistribute it and/or modify
4# it under the terms of the GNU General Public License as published by
5# the Free Software Foundation, either version 3 of the License, or
6# (at your option) any later version.
7#
8# This program is distributed in the hope that it will be useful,
9# but WITHOUT ANY WARRANTY; without even the implied warranty of
10# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11# GNU General Public License for more details.
12#
13# You should have received a copy of the GNU General Public License
14# along with this program.  If not, see <http://www.gnu.org/licenses/>.
15
16"""
17The module defines a set of command hosts, which are bound to a
18different command processors, which are the source of commands.
19"""
20
21from gajim.command_system.framework import CommandHost
22
23
24class ChatCommands(CommandHost):
25    """
26    This command host is bound to the command processor which processes
27    commands from a chat.
28    """
29    AUTOMATIC = True
30
31
32class PrivateChatCommands(CommandHost):
33    """
34    This command host is bound to the command processor which processes
35    commands from a private chat.
36    """
37    AUTOMATIC = True
38
39
40class GroupChatCommands(CommandHost):
41    """
42    This command host is bound to the command processor which processes
43    commands from a group chat.
44    """
45    AUTOMATIC = True
46