From 5fbd37bb996984ce4c536013d627b61249a5f0ce Mon Sep 17 00:00:00 2001 From: mccallum Date: Sat, 3 May 1997 20:43:46 +0000 Subject: [PATCH] New file. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@2329 72102866-910b-0410-8b05-ffd578937521 --- Headers/gnustep/base/NSDistantObject.h | 40 ++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 Headers/gnustep/base/NSDistantObject.h diff --git a/Headers/gnustep/base/NSDistantObject.h b/Headers/gnustep/base/NSDistantObject.h new file mode 100644 index 000000000..1ae978e7b --- /dev/null +++ b/Headers/gnustep/base/NSDistantObject.h @@ -0,0 +1,40 @@ +/* NSDistantObject + Copyright (C) 1997 Free Software Foundation, Inc. + + Written by: Andrew Kachites McCallum + Created: Mar 1997 + + This file is part of the GNUstep Base Library. + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this library; if not, write to the Free + Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ + +@class NSConnection; + +@interface NSDistantObject : NSObject +{ +} + ++ (NSDistantObject*) proxyWithLocal: target connection: (NSConnection*)conn; ++ (NSDistantObject*) proxyWithTarget: target connection: (NSConnection*) conn; + +- initWithLocal: target connection: (NSConnection*) connection; +- initWithTarget: target connection: (NSConnection*) connection; + +- (void) setProtocolForProxy: (Protocol*)proto; + +- (NSConnection*) connectionForProxy; + +@end