| 1 | /* |
| 2 | ** CWMacOSXGlue.h |
| 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 | #ifndef _Pantomime_H_CWMacOSXGlue |
| 24 | #define _Pantomime_H_CWMacOSXGlue |
| 25 | |
| 26 | #import <Foundation/NSObject.h> |
| 27 | |
| 28 | /*! |
| 29 | @category NSObject (PantomimeMacOSXGlue) |
| 30 | @discussion This category is used to define a simple method in to raise |
| 31 | excections if a non-implemented method is being called on |
| 32 | an abstract class instance. You should never use this |
| 33 | method directly. |
| 34 | */ |
| 35 | @interface NSObject (PantomimeMacOSXGlue) |
| 36 | |
| 37 | /*! |
| 38 | @method subclassResponsibility |
| 39 | @discussion This method will raise a generic exception whenever |
| 40 | it is invoked. |
| 41 | @result This method always returns nil. |
| 42 | */ |
| 43 | - (id) subclassResponsibility: (SEL) theSel; |
| 44 | |
| 45 | @end |
| 46 | |
| 47 | #endif // _Pantomime_H_CWMacOSXGlue |