// // P4Server.h // MBMenuExtra // // Created by Michael Bishop on 12/3/09. // Copyright 2009 Perforce Software. All rights reserved. // #import <Cocoa/Cocoa.h> // Server error constants @class NGAReachability; @class P4Response; @class P4SpecManager; @class P4Connection; @class P4User; typedef enum P4ServerStatus { P4ServerStatusOffline , P4ServerStatusConnecting , P4ServerStatusError , P4ServerStatusOnline } P4ServerStatus; @interface P4ServerEntry : NSObject <NSCoding> { @private NSString * _username; NSString * _portString; NSString * _encoding; P4User * _user; NSArray * _users; NSError * _connectionError; } @property (nonatomic, readwrite, copy) NSString * portString; @property (nonatomic, readwrite, copy) NSString * username; @property (nonatomic, readwrite, copy) NSString * password; @property (nonatomic, readwrite, copy) NSString * encoding; @property (nonatomic, readonly, assign) P4Connection * connection; @property (nonatomic, readonly, assign) P4SpecManager * specManager; @property (nonatomic, readonly, retain) P4User * user; @property (nonatomic, readonly) BOOL isUnicodeEnabled; @property (nonatomic, readonly) P4ServerStatus status; @property (nonatomic, readonly, retain) NSError * connectionError; @property (nonatomic, readonly, copy) NSArray * users; + (NSArray*)encodings; - (NSArray*)encodings; - (BOOL)addressIsValid; - (BOOL)userIsValid; - (BOOL)passwordIsValid; - (IBAction)refreshAll:(id)sender; @end
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 20722 | jdputsch | initial branch, prep for -Zapp= support | ||
//guest/michael_bishop/MacMenu/src/P4Menu/Source/P4ServerEntry.h | |||||
#1 | 8331 | Matt Attaway |
Adding initial version of MacMenu for Perforce MacMenu is a helpful Perforce client that sits in your toolbar. It allows you to run standard Perforce operations on the document that is open the currently active editor/viewer. |