mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
rename & add to project
This commit is contained in:
@@ -138,6 +138,7 @@
|
||||
D8FDDA6F114335E8005647F6 /* PBGitSVStageItem.m in Sources */ = {isa = PBXBuildFile; fileRef = D8FDDA67114335E8005647F6 /* PBGitSVStageItem.m */; };
|
||||
D8FDDA70114335E8005647F6 /* PBGitSVTagItem.m in Sources */ = {isa = PBXBuildFile; fileRef = D8FDDA69114335E8005647F6 /* PBGitSVTagItem.m */; };
|
||||
D8FDDBF41143F318005647F6 /* AddRemote.png in Resources */ = {isa = PBXBuildFile; fileRef = D8FDDBF31143F318005647F6 /* AddRemote.png */; };
|
||||
DDB8FE0113998CE2001A9EE2 /* PBStashViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = DDB8FE0013998CE2001A9EE2 /* PBStashViewController.m */; };
|
||||
F50FE0E30E07BE9600854FCD /* PBGitRevisionCell.m in Sources */ = {isa = PBXBuildFile; fileRef = F50FE0E20E07BE9600854FCD /* PBGitRevisionCell.m */; };
|
||||
F513085B0E0740F2000C8BCD /* PBQLOutlineView.m in Sources */ = {isa = PBXBuildFile; fileRef = F513085A0E0740F2000C8BCD /* PBQLOutlineView.m */; };
|
||||
F5140DC90E8A8EB20091E9F3 /* RoundedRectangle.m in Sources */ = {isa = PBXBuildFile; fileRef = F5140DC80E8A8EB20091E9F3 /* RoundedRectangle.m */; };
|
||||
@@ -425,6 +426,8 @@
|
||||
D8FDDA69114335E8005647F6 /* PBGitSVTagItem.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PBGitSVTagItem.m; sourceTree = "<group>"; };
|
||||
D8FDDA7311433634005647F6 /* PBSourceViewItems.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PBSourceViewItems.h; sourceTree = "<group>"; };
|
||||
D8FDDBF31143F318005647F6 /* AddRemote.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = AddRemote.png; path = Images/AddRemote.png; sourceTree = "<group>"; };
|
||||
DDB8FDFF13998CE2001A9EE2 /* PBStashViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PBStashViewController.h; sourceTree = "<group>"; };
|
||||
DDB8FE0013998CE2001A9EE2 /* PBStashViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PBStashViewController.m; sourceTree = "<group>"; };
|
||||
F50FE0E10E07BE9600854FCD /* PBGitRevisionCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PBGitRevisionCell.h; sourceTree = "<group>"; };
|
||||
F50FE0E20E07BE9600854FCD /* PBGitRevisionCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = PBGitRevisionCell.m; sourceTree = "<group>"; };
|
||||
F51308590E0740F2000C8BCD /* PBQLOutlineView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PBQLOutlineView.h; sourceTree = "<group>"; };
|
||||
@@ -939,6 +942,8 @@
|
||||
77C8280C06725ACE000B614F /* ApplicationController.m */,
|
||||
93CB42C00EAB7B2200530609 /* PBGitDefaults.h */,
|
||||
93CB42C10EAB7B2200530609 /* PBGitDefaults.m */,
|
||||
DDB8FDFF13998CE2001A9EE2 /* PBStashViewController.h */,
|
||||
DDB8FE0013998CE2001A9EE2 /* PBStashViewController.m */,
|
||||
F57CC43F0E05E496000472E2 /* PBGitWindowController.h */,
|
||||
F57CC4400E05E496000472E2 /* PBGitWindowController.m */,
|
||||
911111F60E594F3F00BF76B4 /* PBRepositoryDocumentController.h */,
|
||||
@@ -1447,6 +1452,7 @@
|
||||
217FF0BE12A1CB3E00785A65 /* PBRevealWithFinderCommand.m in Sources */,
|
||||
65D58BC7132D48C2003F7290 /* PBResetSheet.m in Sources */,
|
||||
31776089133569350025876E /* SearchWebView.m in Sources */,
|
||||
DDB8FE0113998CE2001A9EE2 /* PBStashViewController.m in Sources */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
|
||||
@@ -1,24 +0,0 @@
|
||||
//
|
||||
// PBGitHistoryView.h
|
||||
// GitX
|
||||
//
|
||||
// Created by David Catmull on 20-06-11.
|
||||
// Copyright 2011. All rights reserved.
|
||||
//
|
||||
|
||||
#import "PBGitStashController.h"
|
||||
|
||||
@implementation PBGitStashController
|
||||
|
||||
|
||||
- (void) awakeFromNib
|
||||
{
|
||||
}
|
||||
|
||||
- (void) showStash:(PBGitStash)stash
|
||||
{
|
||||
// git stash show -p [stash stashSourceMessage]
|
||||
[webController
|
||||
}
|
||||
|
||||
@end
|
||||
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// PBGitHistoryView.h
|
||||
// PBStashViewController.h
|
||||
// GitX
|
||||
//
|
||||
// Created by David Catmull on 20-06-11.
|
||||
@@ -7,14 +7,18 @@
|
||||
//
|
||||
|
||||
#import "PBViewController.h"
|
||||
#import "PBWebController.h"
|
||||
|
||||
@class PBGitStash;
|
||||
@class PBWebStashController;
|
||||
|
||||
// Controls the view displaying a stash diff
|
||||
@interface PBGitStashController : PBViewController {
|
||||
@interface PBStashViewController : PBViewController {
|
||||
IBOutlet id webView;
|
||||
IBOutlet PBWebStashController *webHistoryController;
|
||||
IBOutlet PBWebStashController *webController;
|
||||
}
|
||||
|
||||
- (void) c:(PBGitStash)stash;
|
||||
- (void) showStash:(PBGitStash*)stash;
|
||||
|
||||
@end
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
//
|
||||
// PBStashViewController.h
|
||||
// GitX
|
||||
//
|
||||
// Created by David Catmull on 20-06-11.
|
||||
// Copyright 2011. All rights reserved.
|
||||
//
|
||||
|
||||
#import "PBStashViewController.h"
|
||||
#import "PBGitStash.h"
|
||||
|
||||
@implementation PBStashViewController
|
||||
|
||||
- (void) awakeFromNib
|
||||
{
|
||||
}
|
||||
|
||||
- (void) showStash:(PBGitStash*)stash
|
||||
{
|
||||
[webController changeContentTo:stash];
|
||||
}
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user