]> err.no Git - sope/blob - sope-core/EOCoreData/NSAttributeDescription+EO.h
Drop apache 1 build-dependency
[sope] / sope-core / EOCoreData / NSAttributeDescription+EO.h
1 /*
2   Copyright (C) 2005-2007 SKYRIX Software AG
3   Copyright (C) 2007      Helge Hess
4   
5   This file is part of SOPE.
6
7   SOPE is free software; you can redistribute it and/or modify it under
8   the terms of the GNU Lesser General Public License as published by the
9   Free Software Foundation; either version 2, or (at your option) any
10   later version.
11
12   SOPE is distributed in the hope that it will be useful, but WITHOUT ANY
13   WARRANTY; without even the implied warranty of MERCHANTABILITY or
14   FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
15   License for more details.
16
17   You should have received a copy of the GNU Lesser General Public
18   License along with SOPE; see the file COPYING.  If not, write to the
19   Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
20   02111-1307, USA.
21 */
22
23 #ifndef __NSAttributeDescription_EO_H__
24 #define __NSAttributeDescription_EO_H__
25
26 // the next two are here to please the Leopard
27 #import <Foundation/NSEnumerator.h>
28 @class NSData;
29
30 #import <CoreData/NSAttributeDescription.h>
31
32 /*
33   NSAttributeDescription(EO)
34   
35   Make an NSAttributeDescription behave like an EOAttribute. This is mostly to
36   make the CoreData model objects work with DirectToWeb and EO at the same 
37   time.
38 */
39
40 @interface NSAttributeDescription(EO)
41
42 - (unsigned)width;
43 - (BOOL)allowsNull;
44
45 @end
46
47 #endif /* __NSAttributeDescription_EO_H__ */