EOCustomObject.h/m new class like in EOF3.

Use this as your EO's superclass or use EOGenericRecords


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@30176 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Dave Wetzel 2010-04-17 05:55:38 +00:00
parent 462ff14dac
commit 6e8f3f92f3
6 changed files with 108 additions and 2 deletions

View file

@ -3,3 +3,4 @@ Gerald Siebke <gerald@turbocat.de>
Manuel Guesdon <mguesdon@orange-concept.com>
David Ayers <ayers@fsfe.org>
Matt Rice <ratmice@gmail.com>
David Wetzel <dave@turbocat.de>

View file

@ -1,3 +1,7 @@
2010-04-17 David Wetzel <dave@turbocat.de>
* EOCustomObject.h/m new class like in EOF3. Use this as your EO's superclass or
use EOGenericRecords
2010-04-14 David Ayers <ayers@fsfe.org>
* EOMutableKnownKeyDictionary.h/m ([-initWithObjects:forKeys:count:]):

View file

@ -0,0 +1,45 @@
/* -*-objc-*-
EOGenericRecord.h
Copyright (C) 2010 Free Software Foundation, Inc.
Author: David Wetzel <dave@turbocat.de>
Date: April 2010
This file is part of the GNUstep Database Library.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 3 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
Library General Public License for more details.
You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef __EOCustomObject_h__
#define __EOCustomObject_h__
#ifdef GNUSTEP
#include <Foundation/NSObject.h>
#else
#include <Foundation/Foundation.h>
#endif
@interface EOCustomObject : NSObject
{
}
@end
#endif // __EOCustomObject_h__

View file

@ -0,0 +1,52 @@
/**
EOCustomObject.m <title>EOCustomObject</title>
Copyright (C) 2010 Free Software Foundation, Inc.
Author: David Wetzel <dave@turbocat.de>
Date: April 2010
<abstract></abstract>
This file is part of the GNUstep Database Library.
<license>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 3 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
Library General Public License for more details.
You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
</license>
**/
#include "config.h"
RCS_ID("$Id: EOGenericRecord.m 30111 2010-04-09 10:09:41Z ayers $")
#ifdef GNUSTEP
#include <Foundation/NSArray.h>
#include <Foundation/NSAutoreleasePool.h>
#include <Foundation/NSDictionary.h>
#include <Foundation/NSObjCRuntime.h>
#include <Foundation/NSValue.h>
#include <Foundation/NSHashTable.h>
#include <Foundation/NSDebug.h>
#else
#include <Foundation/Foundation.h>
#endif
#include "EOCustomObject.h"
@implementation EOCustomObject
@end

View file

@ -33,6 +33,8 @@
#include <Foundation/Foundation.h>
#endif
#include <EOControl/EOCustomObject.h>
@class NSString;
@class NSMutableDictionary;
@ -43,7 +45,7 @@
@class EOMutableKnownKeyDictionary;
@interface EOGenericRecord : NSObject
@interface EOGenericRecord : EOCustomObject
{
EOClassDescription *classDescription;
EOMutableKnownKeyDictionary *dictionary;

View file

@ -1,7 +1,7 @@
#
# EOControl makefile for GNUstep Database Library.
#
# Copyright (C) 1997,2002,2003,2004,2005 Free Software Foundation, Inc.
# Copyright (C) 1997,2002,2003,2004,2005,2010 Free Software Foundation, Inc.
#
# Written by: Scott Christley <scottc@net-community.com>
#
@ -39,6 +39,7 @@ EOControl_C_FILES =
EOControl_OBJC_FILES = \
EOSortOrdering.m \
EOFetchSpecification.m \
EOCustomObject.m \
EOGenericRecord.m \
EOClassDescription.m \
EOKeyValueCoding.m \
@ -79,6 +80,7 @@ EOControl_HEADER_FILES_INSTALL_DIR = /EOControl
EOControl_HEADER_FILES = \
EOSortOrdering.h \
EOFetchSpecification.h \
EOCustomObject.h \
EOGenericRecord.h \
EOClassDescription.h \
EOKeyValueCoding.h \