]> err.no Git - sope/blob - sope-mime/NGMail/NGMail.m
synced with latest additions and bumped framework versions
[sope] / sope-mime / NGMail / NGMail.m
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 #include "NGMail.h"
23 #include "NGMBoxReader.h"
24 #include "NGPop3Client.h"
25 #include "NGSmtpClient.h"
26 #include "NGMimeMessage.h"
27 #include "NGMimeMessageParser.h"
28 #include "NGMimeMessageGenerator.h"
29 #include "NGMailAddress.h"
30 #include "NGMailAddressList.h"
31 #include "NGMailAddressParser.h"
32
33 #import <NGStreams/NGStreams.h>
34 #import <NGMime/NGMime.h>
35
36 @implementation NGMail
37
38 /*
39   all this is required when compiling on GNUstep without shared
40   libraries. eg gprof profiling only works with static binaries,
41   therefore this is sometimes required. sigh.
42 */
43
44 - (void)_staticLinkClasses {
45   [NGMailAddress          self];
46   [NGMailAddressList      self];
47   [NGMailAddressParser    self];
48   [NGMimeMessage          self];
49   [NGMimeMessageParser    self];
50   [NGMimeMessageGenerator self];
51   
52   [NGMBoxReader self];
53   [NGPop3Client self];
54   [NGSmtpClient self];
55
56   [NGMime self];
57 }
58
59 - (void)_staticLinkModules {
60   [NGStreams class];
61   [NGMime    class];
62 }
63
64 @end /* NGMail */