]> err.no Git - sope/blob - sope-gdl1/PostgreSQL/EOAttribute+PostgreSQL72.h
added an ivar to WOComponent, minor cleanups
[sope] / sope-gdl1 / PostgreSQL / EOAttribute+PostgreSQL72.h
1 /* 
2    EOAttribute+PostgreSQL72.h
3
4    Copyright (C) 1999 MDlink online service center GmbH and Helge Hess
5    Copyright (C) 2000-2004 SKYRIX Software AG and Helge Hess
6
7    Author: Helge Hess (helge.hess@opengroupware.org)
8
9    This file is part of the PostgreSQL72 Adaptor Library
10
11    This library is free software; you can redistribute it and/or
12    modify it under the terms of the GNU Library General Public
13    License as published by the Free Software Foundation; either
14    version 2 of the License, or (at your option) any later version.
15
16    This library is distributed in the hope that it will be useful,
17    but WITHOUT ANY WARRANTY; without even the implied warranty of
18    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
19    Library General Public License for more details.
20
21    You should have received a copy of the GNU Library General Public
22    License along with this library; see the file COPYING.LIB.
23    If not, write to the Free Software Foundation,
24    59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
25 */
26 // $Id: EOAttribute+PostgreSQL72.h 1 2004-08-20 10:38:46Z znek $
27
28 #ifndef ___PostgreSQL72_EOAttribute_H___
29 #define ___PostgreSQL72_EOAttribute_H___
30
31 #import <GDLAccess/EOAttribute.h>
32 #include <libpq-fe.h>
33
34 @class NSString;
35
36 @interface EOAttribute(PostgreSQL72AttributeAdditions)
37
38 - (void)loadValueClassAndTypeUsingPostgreSQLType:(Oid)_type
39   size:(int)_size
40   modification:(int)_modification
41   binary:(BOOL)_isBinary;
42
43 - (void)loadValueClassForExternalPostgreSQLType:(NSString *)_type;
44
45 @end
46
47 #endif /* ___PostgreSQL72_EOAttribute_H___ */