ftp.nice.ch/Attic/openStep/unix/developer/language/python/python.14.m.s.tgz#/python-14-OS-mach/Contrib/OpenSTEP_PB/Python.fproj/Python.subproj/PyNSBundledModule.m

This is PyNSBundledModule.m in view mode; [Download] [Up]

/* Copyright (c) 1997 by Lele Gaifax.  All Rights Reserved
 *
 * This file is part of .
 *
 * $RCSfile: PyNSBundledModule.m,v $
 * $Revision: 1.1 $
 * $Date: 1997/03/23 08:02:02 $
 *
 * Created Fri Mar 14 00:09:40 1997.
 */

#include <Python/Python.h>
#include "PyNSBundledModule.h"
#import <Foundation/NSString.h>

#define CLASS_VERSION 0

@implementation PyNSBundledModule

+ (void) initialize
{
  if (self == [PyNSBundledModule class])
    {
      [PyNSBundledModule setVersion:CLASS_VERSION];
    }
}

+ (NSString *) pathOfModule:(NSString *) name
{
  NSBundle *b = [NSBundle bundleForClass:[self class]];

  return [b pathForResource:name ofType:@"bundle"];
}

+ (void) initModule
{
}

@end /* PyNSBundledModule class implementation */

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.