Revision: 7013
http://skim-app.svn.sourceforge.net/skim-app/?rev=7013&view=rev
Author: hofman
Date: 2010-12-25 12:35:40 +0000 (Sat, 25 Dec 2010)
Log Message:
-----------
reimplement NSCoding for bookmarks used by scripting
Modified Paths:
--------------
trunk/SKBookmark.h
trunk/SKBookmark.m
Modified: trunk/SKBookmark.h
===================================================================
--- trunk/SKBookmark.h 2010-12-24 18:26:49 UTC (rev 7012)
+++ trunk/SKBookmark.h 2010-12-25 12:35:40 UTC (rev 7013)
@@ -53,7 +53,7 @@
SKScriptingBookmarkTypeSeparator = 'BmSp'
};
-...@interface SKBookmark : NSObject {
+...@interface SKBookmark : NSObject <NSCopying> {
SKBookmark *parent;
}
Modified: trunk/SKBookmark.m
===================================================================
--- trunk/SKBookmark.m 2010-12-24 18:26:49 UTC (rev 7012)
+++ trunk/SKBookmark.m 2010-12-25 12:35:40 UTC (rev 7013)
@@ -194,6 +194,10 @@
return nil;
}
+- (id)copyWithZone:(NSZone *)aZone {
+ return [[SKBookmark alloc] initWithProperties:[self properties]];
+}
+
- (void)dealloc {
parent = nil;
[super dealloc];
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and,
should the need arise, upgrade to a full multi-node Oracle RAC database
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit