Revision: 5762
http://skim-app.svn.sourceforge.net/skim-app/?rev=5762&view=rev
Author: hofman
Date: 2009-09-19 12:41:34 +0000 (Sat, 19 Sep 2009)
Log Message:
-----------
make synchronizer delegate methods required
Modified Paths:
--------------
trunk/SKPDFSynchronizer.h
trunk/SKPDFSynchronizer.m
Modified: trunk/SKPDFSynchronizer.h
===================================================================
--- trunk/SKPDFSynchronizer.h 2009-09-19 12:13:52 UTC (rev 5761)
+++ trunk/SKPDFSynchronizer.h 2009-09-19 12:41:34 UTC (rev 5762)
@@ -47,7 +47,6 @@
@class SKPDFSynchronizer;
@protocol SKPDFSynchronizerDelegate <NSObject>
-...@optional
- (void)synchronizer:(SKPDFSynchronizer *)synchronizer
foundLine:(NSInteger)line inFile:(NSString *)file;
- (void)synchronizer:(SKPDFSynchronizer *)synchronizer
foundLocation:(NSPoint)point atPageIndex:(NSUInteger)pageIndex
options:(NSInteger)options;
Modified: trunk/SKPDFSynchronizer.m
===================================================================
--- trunk/SKPDFSynchronizer.m 2009-09-19 12:13:52 UTC (rev 5761)
+++ trunk/SKPDFSynchronizer.m 2009-09-19 12:41:34 UTC (rev 5762)
@@ -126,12 +126,12 @@
#pragma mark | Client protocol
- (oneway void)foundLine:(NSInteger)line inFile:(bycopy NSString *)file {
- if ([server shouldKeepRunning] && [delegate
respondsToSelector:@selector(synchronizer:foundLine:inFile:)])
+ if ([server shouldKeepRunning])
[delegate synchronizer:self foundLine:line inFile:file];
}
- (oneway void)foundLocation:(NSPoint)point atPageIndex:(NSUInteger)pageIndex
options:(NSInteger)options {
- if ([server shouldKeepRunning] && [delegate
respondsToSelector:@selector(synchronizer:foundLocation:atPageIndex:options:)])
+ if ([server shouldKeepRunning])
[delegate synchronizer:self foundLocation:point atPageIndex:pageIndex
options:options];
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit