/* 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 */
