/usr/include/BALL/VIEW/KERNEL/message.iC is in libballview1.4-dev 1.4.3~beta1-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | // -*- Mode: C++; tab-width: 2; -*-
// vi: set ts=2:
//
// $Id: message.iC,v 1.13 2005/12/23 17:02:15 amoll Exp $
BALL_INLINE
void Message::setSender(const ConnectionObject* object)
{
#ifdef BALL_VIEW_DEBUG
Log.error() << "Message " << this << " setSender " << object << " " << typeid(object).name() << std::endl;
#endif
connection_object_ = object;
}
BALL_INLINE
const ConnectionObject* Message::getSender() const
{
return connection_object_;
}
BALL_INLINE
void Message::setDeletable(bool flag)
{
#ifdef BALL_VIEW_DEBUG
Log.error() << "Message " << this << " setDeletable" << flag<< std::endl;
#endif
deletable_ = flag;
}
BALL_INLINE
bool Message::isDeletable() const
{
return deletable_;
}
BALL_INLINE
void CompositeMessage::setComposite(const Composite& composite)
{
composite_ = const_cast<Composite*>(&composite);
}
BALL_INLINE
Composite* CompositeMessage::getComposite() const
{
return composite_;
}
BALL_INLINE
void CompositeMessage::setCompositeName(const String& name)
{
composite_name_ = name;
}
BALL_INLINE
const String& CompositeMessage::getCompositeName() const
{
return composite_name_;
}
BALL_INLINE
void GenericSelectionMessage::setSelection(const std::list<Composite*>& selection)
{
selection_ = selection;
}
BALL_INLINE
const std::list<Composite*>& GenericSelectionMessage::getSelection() const
{
return selection_;
}
BALL_INLINE
std::list<Composite*>& GenericSelectionMessage::getSelection()
{
return selection_;
}
|