/usr/include/GNUstep/Frameworks/Pantomime.framework/Versions/1.2/CWContainer.h is in libpantomime1.2-dev 1.2.2~r289+dfsg-2.
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 88 89 90 91 92 93 94 95 96 | /*
** CWContainer.h
**
** Copyright (c) 2002-2007
**
** Author: Ludovic Marcotte <ludovic@Sophos.ca>
**
** This library is free software; you can redistribute it and/or
** modify it under the terms of the GNU Lesser General Public
** License as published by the Free Software Foundation; either
** version 2.1 of the License, or (at your option) any later version.
**
** This library 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
** Lesser General Public License for more details.
**
** You should have received a copy of the GNU Lesser General Public
** License along with this library; if not, write to the Free Software
** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifndef _Pantomime_H_CWContainer
#define _Pantomime_H_CWContainer
#import <Foundation/NSEnumerator.h>
#import <Foundation/NSObject.h>
@class CWMessage;
/*!
@class CWContainer
@discussion This class is a simple placeholder used when doing message threading.
A container is composed of a CWMessage instance which might be nil, a parent,
child and next CWContainer instances. For a full description of the implemented
algorithm, see <a href="http://www.jwz.org/doc/threading.html">message threading</a>.
Instance variables of this class must be accessed directly (ie., without
an accessor) - for performance reasons.
*/
@interface CWContainer : NSObject
{
@public
CWContainer *parent, *child, *next;
CWMessage *message;
}
/*!
@method setParent:
@discussion This method is used to set the parent CWContainer of the receiver.
@param theParent The parent CWContainer, which might be nil if the receiver
is part of the root set.
*/
- (void) setParent: (CWContainer *) theParent;
/*!
@method setChild:
@discussion This method is used to add the specified child to the list
of children.
@param theChild The child to add which can be nil to remove the first child.
*/
- (void) setChild: (CWContainer *) theChild;
/*!
@method childAtIndex:
@discussion This method is used to get the child at the specified index.
@param theIndex The index of the child, which is 0 based.
@result The CWContainer instance.
*/
- (CWContainer *) childAtIndex: (unsigned int) theIndex;
/*!
@method count
@discussion This method is used to obtain the number of children of
the receiver.
@result The number of children.
*/
- (unsigned int) count;
/*!
@method setNext:
@discussion This method is used to set the next element in
sibling list.
@param theNext The next element, or nil if there's none.
*/
- (void) setNext: (CWContainer *) theNext;
/*!
@method childrenEnumerator
@discussion This method is used to obtain all children of the receiver.
@result All children, as a NSEnumerator instance.
*/
- (NSEnumerator *) childrenEnumerator;
@end
#endif // _Pantomime_H_CWContainer
|