Adun  0.83
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
AdunListHandler.h
1 /*
2  Project: Adun
3 
4  Copyright (C) 2005 Michael Johnston & Jordi Villą--Freixa
5 
6  Author: Michael Johnston
7 
8  This application is free software; you can redistribute it and/or
9  modify it under the terms of the GNU General Public
10  License as published by the Free Software Foundation; either
11  version 2 of the License, or (at your option) any later version.
12 
13  This application is distributed in the hope that it will be useful,
14  but WITHOUT ANY WARRANTY; without even the implied warranty of
15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16  Library General Public License for more details.
17 
18  You should have received a copy of the GNU General Public
19  License along with this library; if not, write to the Free
20  Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA.
21 */
22 #ifndef ADUN_LISTHANDLER_
23 #define ADUN_LISTHANDLER_
24 
25 #include "Base/AdVector.h"
26 #include "Base/AdLinkedList.h"
28 #include "AdunKernel/AdunLinkedList.h"
29 
68 @interface AdListHandler: NSObject
78 - (id) initWithSystem: (id) aSystem allowedPairs: (NSArray*) anArray cutoff: (double) aDouble;
86 - (void) createList;
94 - (void) update;
98 - (double) cutoff;
104 - (void) setCutoff: (double) aValue;
115 - (void) setSystem: (id) aSystem;
120 - (id) system;
126 - (void) setAllowedPairs: (NSArray*) anArray;
131 - (NSArray*) allowedPairs;
139 - (NSValue*) pairList;
143 - (int) numberOfListElements;
149 - (void) setDelegate: (id) anObject;
153 - (id) delegate;
154 @end
155 
166 - (void) handlerDidUpdateList: (AdListHandler*) listHandler;
173 - (void) handlerDidInvalidateList: (AdListHandler*) listHandler;
183 - (void) handlerDidHandleContentChange: (AdListHandler*) listHandler;
184 @end
185 
186 #endif
187