@end
/* }}} */
/* Source Table {{{ */
-@interface SourceTable : CYViewController <
+@interface SourceController : CYViewController <
UITableViewDataSource,
UITableViewDelegate
> {
@end
-@implementation SourceTable
+@implementation SourceController
- (void) _releaseConnection:(NSURLConnection *)connection {
if (connection != nil) {
ChangesController *changes_;
ManageController *manage_;
SearchController *search_;
- SourceTable *sources_;
+ SourceController *sources_;
InstalledController *installed_;
id queueDelegate_;
return search_;
}
-- (SourceTable *) sourcesController {
+- (SourceController *) sourcesController {
if (sources_ == nil)
- sources_ = [[SourceTable alloc] initWithDatabase:database_];
+ sources_ = [[SourceController alloc] initWithDatabase:database_];
return sources_;
}
/*else if ([path isEqualToString:@"/add-source"])
return [[[AddSourceController alloc] initWithDatabase:database_] autorelease];*/
else if ([path isEqualToString:@"/sources"])
- return [[[SourceTable alloc] initWithDatabase:database_] autorelease];
+ return [[[SourceController alloc] initWithDatabase:database_] autorelease];
else if ([path isEqualToString:@"/packages"])
return [[[InstalledController alloc] initWithDatabase:database_] autorelease];
else if ([path hasPrefix:@"/url/"])