diff options
author | avenjamin <avenjamin@gmail.com> | 2008-09-12 10:32:22 +0000 |
---|---|---|
committer | avenjamin <avenjamin@gmail.com> | 2008-09-12 10:32:22 +0000 |
commit | 199a7dd6c13fb1274c2d5f3fa7fae5adb94701d3 (patch) | |
tree | 3762e8f3444282fc2b624759a48c399c5ad34081 /MCPKit_bundled.framework/Versions/A/Headers/MCPDocument.h | |
parent | a00129908b7b963edbe7852a0e51b4d6635c08f7 (diff) | |
download | sequelpro-199a7dd6c13fb1274c2d5f3fa7fae5adb94701d3.tar.gz sequelpro-199a7dd6c13fb1274c2d5f3fa7fae5adb94701d3.tar.bz2 sequelpro-199a7dd6c13fb1274c2d5f3fa7fae5adb94701d3.zip |
Attempting to fix an issue with this framework and it's containing symlinks.
Re adding for the second time.
Diffstat (limited to 'MCPKit_bundled.framework/Versions/A/Headers/MCPDocument.h')
-rw-r--r-- | MCPKit_bundled.framework/Versions/A/Headers/MCPDocument.h | 95 |
1 files changed, 95 insertions, 0 deletions
diff --git a/MCPKit_bundled.framework/Versions/A/Headers/MCPDocument.h b/MCPKit_bundled.framework/Versions/A/Headers/MCPDocument.h new file mode 100644 index 00000000..28f375da --- /dev/null +++ b/MCPKit_bundled.framework/Versions/A/Headers/MCPDocument.h @@ -0,0 +1,95 @@ +// +// MCPDocument.h +// Vacations +// +// Created by Serge Cohen on Sat May 24 2003. +// Copyright (c) 2003 ARP/wARP. All rights reserved. +// + + +#import <Cocoa/Cocoa.h> + +// External classes, forward reference. +@class MCPConnection; +@class MCPResult; + + +@interface MCPDocument : NSDocument +{ + BOOL MCPConInfoNeeded, MCPPassNeeded; + NSString *MCPHost, *MCPLogin, *MCPDatabase; + unsigned int MCPPort; + MCPConnection *MCPConnect; + +// Handling of windows. + NSWindowController *MCPMainWinCont; + Class MCPConnectedWinCont; /*" Window controller used once the connection is established (As a class). "*/ +// Handling the DB creation state. + NSString *MCPModelName; + BOOL MCPWillCreateNewDB; +} + +/*" Class Maintenance "*/ ++ (void) initialize; + +// Standards +/*" Initialisation and deallocation "*/ +- (id) init; +- (void) dealloc; + +/*" Connection to the databse related "*/ +- (MCPResult *) MCPqueryString:(NSString *) query; +- (unsigned int) MCPinsertRow:(NSString *) insert; +- (MCPConnection *) MCPgetConnection; + +// Accessors +/*" Accessors to the parameters of the connection "*/ +- (void) setMCPHost:(NSString *) theHost; +- (void) setMCPLogin:(NSString *) theLogin; +- (void) setMCPDatabase:(NSString *) theDatabase; +- (void) setMCPPort:(unsigned int) thePort; +- (void) setMCPConInfoNeeded:(BOOL) theConInfoNeeded; + +- (NSString *) MCPHost; +- (NSString *) MCPLogin; +- (NSString *) MCPDatabase; +- (unsigned int) MCPPort; +- (BOOL) MCPConInfoNeeded; +- (BOOL) MCPPassNeeded; + +- (BOOL) MCPisConnected; +- (MCPConnection *) MCPConnect; + +/*" Accessor to the window generated once the connection is established "*/ +- (void) setMCPConnectedWinCont:(Class) theConnectedWinCont; + +- (Class) MCPConnectedWinCont; + +/*" Accessors to the main window (connection or connected window), through their window controller. "*/ +- (NSWindowController *) MCPMainWinCont; + +/*" Accessors to the DB creation instances. "*/ +- (void) setMCPModelName:(NSString *) theModelName; +- (void) setMCPWillCreateNewDB:(BOOL) theWillCreateNewDB; + +- (NSString *) MCPModelName; +- (BOOL) MCPWillCreateNewDB; + +/*" Practical creation of the database, from a model file. "*/ +- (BOOL) createModelDB; + +/*" Overrides of NSDocument methods. "*/ +// Managing the document in file format +- (NSData *) dataRepresentationOfType:(NSString *) aType; +- (BOOL)loadDataRepresentation:(NSData *) data ofType:(NSString *)aType; + +// Managing NSWindowController(s) +- (NSArray *) makeWindowControllers; +- (void) windowControllerDidLoadNib:(NSWindowController *) aController; + +/*" Method to take care of the password sheet. "*/ +// Callback from sheet +- (void) MCPPasswordSheetDidEnd:(NSWindow *) sheet returnCode:(int) returnCode contextInfo:(void *) contextInfo; + + +@end |