mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-20 14:36:36 +00:00
* Source/NSManagedObjectContext.h
* Source/NSManagedObjectContext.m: Add managed object context. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25392 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
e806acc75d
commit
723d5276c0
3 changed files with 154 additions and 0 deletions
43
Source/NSManagedObjectContext.h
Normal file
43
Source/NSManagedObjectContext.h
Normal file
|
@ -0,0 +1,43 @@
|
|||
/** <title>NSManagedObjectContext</title>
|
||||
|
||||
<abstract>
|
||||
This class is the context object for the controller classes.
|
||||
It contains information which is used by those classes to maintain
|
||||
the internal state.
|
||||
</abstract>
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc.
|
||||
|
||||
Author: Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
Date: 2007
|
||||
|
||||
This file is part of the GNUstep GUI 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 2 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.
|
||||
*/
|
||||
|
||||
#include <Foundation/NSObject.h>
|
||||
|
||||
@class NSMergePolicy;
|
||||
|
||||
@interface NSManagedObjectContext : NSObject <NSCoding>
|
||||
{
|
||||
NSMergePolicy *_mergePolicy;
|
||||
BOOL _propagatesDeleted;
|
||||
int _fetchTimestamp;
|
||||
BOOL _retainsRegisteredObjects;
|
||||
}
|
||||
@end
|
Loading…
Add table
Add a link
Reference in a new issue