Changeset 53719


Ignore:
Timestamp:
Jul 12, 2009, 9:47:00 PM (10 years ago)
Author:
juanger@…
Message:

Install action with MPPortProcess implementation

Location:
branches/gsoc09-gui/MacPorts_Framework
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/gsoc09-gui/MacPorts_Framework/MPInterpreter.m

    r53717 r53719  
    676676    [aTask launch];
    677677   
    678     NSLog(@"Going to sleep");
    679     [NSThread sleepUntilDate:[NSDate dateWithTimeIntervalSinceNow:10000]];
     678//    NSLog(@"Going to sleep");
     679    [NSThread sleepUntilDate:[NSDate dateWithTimeIntervalSinceNow:10]];
    680680    id theProxy = [NSConnection
    681681                rootProxyForConnectionWithRegisteredName:@"MPPortProcess"
  • branches/gsoc09-gui/MacPorts_Framework/MPPortProcess.h

    r53717 r53719  
    77//
    88
    9 #include <Tcl/Tcl.h>
     9#include <tcl.h>
    1010
    1111@interface MPPortProcess : NSObject {
    1212    Tcl_Interp *interpreter;
    1313    NSString *PKGPath;
    14     NSString *InitTclPath;
    1514}
    1615
  • branches/gsoc09-gui/MacPorts_Framework/MPPortProcess.m

    r53717 r53719  
    1818@implementation MPPortProcess
    1919
    20 - (id)initWithPKGPath:(NSString*)pkgPath initTclPath:(NSString*)tclPath {
     20- (id)initWithPKGPath:(NSString*)pkgPath {
    2121    PKGPath = pkgPath;
    22     InitTclPath = tclPath;
    2322    [self initializeInterpreter];
    2423    return self;
     
    6867    portProcessConnection = [NSConnection defaultConnection];
    6968    NSString *PKGPath = [[NSString alloc] initWithCString:argv[1] encoding:NSUTF8StringEncoding];
    70     NSString *portProcessInitPath = [[NSString alloc] initWithCString:argv[2] encoding:NSUTF8StringEncoding];
     69//    NSString *portProcessInitPath = [[NSString alloc] initWithCString:argv[2] encoding:NSUTF8StringEncoding];
    7170   
    72     MPPortProcess *portProcess = [[MPPortProcess alloc] initWithPKGPath:PKGPath initTclPath:portProcessInitPath];
     71    MPPortProcess *portProcess = [[MPPortProcess alloc] initWithPKGPath:PKGPath];
    7372   
    7473    // Vending portProcess
Note: See TracChangeset for help on using the changeset viewer.