Changeset 81 for trunk/qcontrol/cocoaControlController.m
- Timestamp:
- 04/13/07 17:51:30 (3 years ago)
- Files:
-
- 1 modified
-
trunk/qcontrol/cocoaControlController.m (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/qcontrol/cocoaControlController.m
r79 r81 784 784 785 785 [[thisPC objectForKey:@"Temporary"] setObject:path forKey:@"-cocoapath"]; 786 #if kju_debug 786 787 NSLog(@"-cocoapath: %@", path); 788 #endif 787 789 [[thisPC objectForKey:@"PC Data"] setObject:name forKey:@"name"]; 788 790 … … 1099 1101 /* set the -cocoapath */ 1100 1102 [[thisPC objectForKey:@"Temporary"] setObject:[NSString stringWithFormat:@"%@/%@.qvm", [userDefaults objectForKey:@"dataPath"], name] forKey:@"-cocoapath"]; 1103 #if kju_debug 1101 1104 NSLog(@"cocoapath: %@", [[thisPC objectForKey:@"Temporary"] objectForKey:@"-cocoapath"]); 1105 #endif 1102 1106 1103 1107 /* Create .qvm */ … … 1129 1133 // copy over into .qvm 1130 1134 [fileManager copyPath:[[qemux objectAtIndex:i] objectForKey:[hds objectAtIndex:ii]] toPath:[NSString stringWithFormat:@"%@/%@", [[thisPC objectForKey:@"Temporary"] objectForKey:@"-cocoapath"], [[[qemux objectAtIndex:i] objectForKey:[hds objectAtIndex:ii]] lastPathComponent]] handler:nil]; 1135 #if kju_debug 1131 1136 NSLog(@"copy allowed, done."); 1137 #endif 1132 1138 } 1139 #if kju_debug 1133 1140 NSLog(@"hd: %@", [[qemux objectAtIndex:i] objectForKey:[hds objectAtIndex:ii]]); 1134 1141 NSLog(@"copy from %@ to %@", [[qemux objectAtIndex:i] objectForKey:[hds objectAtIndex:ii]], [NSString stringWithFormat:@"%@/%@", [[thisPC objectForKey:@"Temporary"] objectForKey:@"-cocoapath"], [[[qemux objectAtIndex:i] objectForKey:[hds objectAtIndex:ii]] lastPathComponent]]); 1142 #endif 1135 1143 } 1136 1144 … … 1561 1569 1562 1570 file = [filename stringByAppendingPathComponent:[@"Contents/Resources/Guest" stringByAppendingPathComponent:file]]; 1571 #if kju_debug 1563 1572 NSLog(@"file: %@", file); 1573 #endif 1564 1574 1565 1575 /* ready now, show progressPanel */ … … 1700 1710 - (void) startPC:(NSString *)filename 1701 1711 { 1702 NSLog(@"cocoaControlController: startPC:%@", filename);1712 // NSLog(@"cocoaControlController: startPC:%@", filename); 1703 1713 1704 1714 NSData *data = [NSData dataWithContentsOfFile:[NSString stringWithFormat:@"%@/configuration.plist", filename]]; … … 1813 1823 } 1814 1824 1825 #if kju_debug 1815 1826 for (i = 0; i < [arguments count]; i++) 1816 1827 NSLog(@"Argument: %@", [arguments objectAtIndex:i]); 1817 1828 #endif 1829 1818 1830 /* save Status */ 1819 1831 [[thisPC objectForKey:@"PC Data"] setObject:@"running" forKey:@"state"];
