apps-projectcenter/PCLib/PCEditor.h
Philippe C.D. Robert 7c264a098c Rewriting the entire editor code. Hence introduced a PCEditorController and
cleaned up the PCServer class. Every project now has a controller which
controls all editors. Editors itself use an editor view to display the files
or external editors.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@12386 72102866-910b-0410-8b05-ffd578937521
2002-02-02 17:56:44 +00:00

55 lines
813 B
Objective-C

/*
* PCEditor.h created by probert on 2002-01-29 20:37:28 +0000
*
* Project ProjectCenter
*
* Created with ProjectCenter - http://www.gnustep.org
*
* $Id$
*/
#ifndef _PCEDITOR_H_
#define _PCEDITOR_H_
#import <AppKit/AppKit.h>
@class PCEditorView;
@interface PCEditor : NSObject
{
PCEditorView *view;
NSWindow *window;
NSMutableString *path;
id delegate;
BOOL isEmbedded;
}
- (id)initWithPath:(NSString*)file;
- (void)dealloc;
- (void)setDelegate:(id)aDelegate;
- (id)delegate;
- (void)setEmbedded:(BOOL)yn;
- (BOOL)isEmbedded;
- (NSWindow *)editorWindow;
- (NSString *)path;
- (void)show;
- (void)close;
- (void)windowWillClose:(NSNotification *)aNotif;
@end
@interface NSObject (PCEditorDelegate )
- (void)editorDidClose:(id)sender;
@end
#endif // _PCEDITOR_H_