Logo Search packages:      
Sourcecode: ibus-xkbc version File versions  Download package

xkb_types.py

# vim:set et sts=4 sw=4:
#
# ibus-xkbc - The Input Bus Keyboard Layout emulaton engine.
#
# Copyright (c) 2009-2010 Sun Microsystems, Inc All Rights Reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

from constants import *
from parser import *

00024 class TypesParser(Parser):

    def __init__(self, basedir):
        Parser.__init__(self, basedir)

    def get_component_class(self):
        return XKB_Types

    def get_component_keyword(self):
        return KWD_TYPES

    types_dict = {}
    def get_component_dict(self):
        return self.types_dict

    def get_component_dirname(self):
        return DN_TYPES

from xkb_component import XKB_Component

00044 class XKB_Types(XKB_Component):

    def __init__(self):
        XKB_Component.__init__(self)
        self._type_dict = {}
        self._virtual_modifier_list = []


Generated by  Doxygen 1.6.0   Back to index