Stone Design Stone Design
News Download Buy Software About Stone
software

Features
Installation
Quick Start
Loading
    Automatic
    File Types
    Combining Files
    Making a Poster
Options
Preferences
    Misc
    
Watched Folders
    PDF
    Hidden
Font Management
Job Management
View EPS Everywhere
Support
Developer's API
Developer’s API - 4
Call the Engine, cont.
rootProxy = [NSConnection rootProxyForConnectionWithRegisteredName:PStillFilterServer host:@""];
}

// We could also try to launch PStill at this point, using
// the NSWorkspace protocol.
if (!rootProxy) {
if (![[NSWorkspace sharedWorkspace] launchApplication:@"PStill"]) {
USAGE;
return nil;
}
sleep(WAKE_UP_WAIT);
rootProxy = [NSConnection rootProxyForConnectionWithRegisteredName:PStillFilterServer host:@""];
}

if (!rootProxy) {
fprintf(stderr,"Can't connect to PStill\n");
return nil;
}

[rootProxy setProtocolForProxy:@protocol(PStillVended)];
result = (id<PStillVended>)rootProxy;
return result;
}


PreviousTopIndexNext
©1997-2005 Stone Design top