| 1 |
/* |
| 2 |
** CWMacOSXGlue.m |
| 3 |
** |
| 4 |
** Copyright (c) 2001-2004 Ludovic Marcotte, Stephane Corthesy |
| 5 |
** |
| 6 |
** Author: Ludovic Marcotte <[email protected]> |
| 7 |
** Stephane Corthesy <[email protected]> |
| 8 |
** |
| 9 |
** This library is free software; you can redistribute it and/or |
| 10 |
** modify it under the terms of the GNU Lesser General Public |
| 11 |
** License as published by the Free Software Foundation; either |
| 12 |
** version 2.1 of the License, or (at your option) any later version. |
| 13 |
** |
| 14 |
** This library is distributed in the hope that it will be useful, |
| 15 |
** but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 16 |
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 17 |
** Lesser General Public License for more details. |
| 18 |
** |
| 19 |
** You should have received a copy of the GNU General Public License |
| 20 |
** along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 21 |
*/ |
| 22 |
|
| 23 |
#include "CWMacOSXGlue.h" |
| 24 |
|
| 25 |
#import <Foundation/NSException.h> |
| 26 |
#import <Foundation/NSString.h> |
| 27 |
|
| 28 |
// |
| 29 |
// |
| 30 |
// |
| 31 |
@implementation NSObject(PantomimeMacOSXGlue) |
| 32 |
|
| 33 |
- (id) subclassResponsibility: (SEL) theSel |
| 34 |
{ |
| 35 |
[NSException raise: NSGenericException |
| 36 |
format: @"subclass %s should override %s", object_getClassName(self), |
| 37 |
sel_getName(theSel)]; |
| 38 |
return nil; |
| 39 |
} |
| 40 |
|
| 41 |
@end |