1995-08-02 18:51:42 +00:00
|
|
|
/* Test Class for NSBundle.
|
|
|
|
Copyright (C) 1993,1994,1995 Free Software Foundation, Inc.
|
|
|
|
|
2005-07-15 22:51:23 +00:00
|
|
|
Copying and distribution of this file, with or without modification,
|
|
|
|
are permitted in any medium without royalty provided the copyright
|
|
|
|
notice and this notice are preserved.
|
|
|
|
|
1995-08-02 18:51:42 +00:00
|
|
|
Written by: Adam Fedor <fedor@boulder.colorado.edu>
|
|
|
|
Date: Jul 1995
|
|
|
|
|
1996-05-12 00:56:10 +00:00
|
|
|
This file is part of the GNUstep Base Library.
|
1995-08-02 18:51:42 +00:00
|
|
|
|
|
|
|
*/
|
|
|
|
#include "SecondClass.h"
|
2000-06-13 14:50:40 +00:00
|
|
|
#include <Foundation/NSString.h>
|
1995-08-02 18:51:42 +00:00
|
|
|
|
2005-02-22 11:22:44 +00:00
|
|
|
@implementation SecondClass
|
1995-08-02 18:51:42 +00:00
|
|
|
|
|
|
|
- init
|
|
|
|
{
|
|
|
|
[super init];
|
|
|
|
h = 25;
|
|
|
|
return self;
|
|
|
|
}
|
|
|
|
|
|
|
|
- printName
|
|
|
|
|
|
|
|
{
|
2000-06-13 14:50:40 +00:00
|
|
|
printf("Hi my name is %s\n", [[self description] cString]);
|
|
|
|
return self;
|
1995-08-02 18:51:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@end
|