Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 4a6f76725dc8922dc15f7eb0d84d77ef > files > 229

python-enthought-envisagecore-3.1.1-2mdv2010.0.noarch.rpm

""" The default implementation of the 'IMessage' interface. """


# Enthought library imports.
from enthought.traits.api import HasTraits, Str, implements

# Local imports.
from i_message import IMessage


class Message(HasTraits):
    """ The default implementation of the 'IMessage' interface. """

    implements(IMessage)
    
    # The author of the message.
    author = Str
    
    # The text of the message.
    text = Str

#### EOF ######################################################################