P4Functionality.h #1

  • //
  • guest/
  • jaime_rios/
  • XcodePerforcePlugin/
  • XcodePerforcePlugin/
  • P4Functionality.h
  • View
  • Commits
  • Open Download .zip Download (1007 B)
// Created by Jaime O. Rios

#import <Foundation/Foundation.h>

@interface P4Functionality : NSObject


@property (atomic) NSString * userHomePathSettings; // e.g. .bash_login

@property (atomic) BOOL     p4Installed;
@property (atomic) NSString * p4Path;
@property (atomic) BOOL     p4vcInstalled;
@property (atomic) NSString * p4vcPath;
@property (atomic) BOOL     P4CONFIG_Set;
@property (strong) NSString * p4ClientName;

- (void)checkSettings;

/**
 Precondition(s):
 - p4 command line installed
 - p4vc command line installed
 - P4CONFIG environment variable already set
 - query to 'p4 info' does not return 'Client unknown.'
 
 Postcondition(s):
 - Returns status as to whether above items are actually fulfilled
 
 Invariant(s):
 - Current project is what is used to check the P4CONFIG path
 */
- (BOOL)p4ClientSet;

- (void)updateP4Status;
- (void)updateP4VCStatus;

- (NSString*)p4CheckOutCurrentFile;
- (NSString*)p4Add;
- (NSString*)p4Info;

- (void)p4vcRevGraph;
- (void)p4vcTimeLapse;
@end

# Change User Description Committed
#6 20141 Jaime Rios Merging using M_robc_apple-to_jaime_rios_XcodePerforcePlugin
#5 15948 Jaime Rios Added p4vc submit functionality; violated rule 0; updated plist for xcode 7 uuid; fixed errors encountered by xcode related to optionals and interoperability with Obj-C++ code.
#4 11740 Jaime Rios Updated readme text with additional known issues; refactored p4 revert function; added perforce icon to alert message.
#3 11739 Jaime Rios Merging

//guest/matt_attaway/XcodePerforcePlugin/...

to //guest/jaime_rios/XcodePerforcePlugin/...
#2 11733 Jaime Rios Refactored code to have more functionality within Swift code; fixed perforce connection bugs.
#1 11694 Jaime Rios Initial add of XcodePerforcePlugin project to guest depot.