]> err.no Git - sope/blob - sope-mime/NGImap4/imCommon.h
synced with latest additions and bumped framework versions
[sope] / sope-mime / NGImap4 / imCommon.h
1 /*
2   Copyright (C) 2000-2005 SKYRIX Software AG
3
4   This file is part of SOPE.
5
6   SOPE is free software; you can redistribute it and/or modify it under
7   the terms of the GNU Lesser General Public License as published by the
8   Free Software Foundation; either version 2, or (at your option) any
9   later version.
10
11   SOPE is distributed in the hope that it will be useful, but WITHOUT ANY
12   WARRANTY; without even the implied warranty of MERCHANTABILITY or
13   FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
14   License for more details.
15
16   You should have received a copy of the GNU Lesser General Public
17   License along with SOPE; see the file COPYING.  If not, write to the
18   Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
19   02111-1307, USA.
20 */
21
22 #ifndef __NGImap4_common_H__
23 #define __NGImap4_common_H__
24
25 #import <Foundation/Foundation.h>
26
27 #if NeXT_Foundation_LIBRARY
28 #  import <NGExtensions/NGObjectMacros.h>
29 #  import <NGExtensions/NSString+Ext.h>
30 #endif
31
32 #include <EOControl/EOControl.h>
33 #include <NGExtensions/NGExtensions.h>
34 #include <NGStreams/NGStreams.h>
35 #include <NGStreams/NGNet.h>
36
37 #include <NGMime/NGMime.h>
38 #include <NGMail/NGMail.h>
39
40 #if NeXT_RUNTIME || APPLE_RUNTIME
41 #  ifndef sel_eq
42 #    define sel_eq(__A__,__B__) (__A__==__B__)
43 #  endif
44 #endif
45
46 @interface NSObject(NGImap4_OSXHacks)
47 - (void)subclassResponsibility:(SEL)_acmd;
48 - (void)notImplemented:(SEL)_acmd;
49 @end
50
51 @interface NSException (NGImap4_setUserInfo)
52 - (id)setUserInfo:(NSDictionary *)_info;
53 @end
54
55 #endif /* __NGImap4_common_H__ */