]> err.no Git - sope/blob - sope-mime/NGMime/NGMime.m
synced with latest additions and bumped framework versions
[sope] / sope-mime / NGMime / NGMime.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 "NGMime.h"
23
24 #ifndef LIBRARY_MAJOR_VERSION
25 #  if !COCOA_Foundation_LIBRARY && !NeXT_Foundation_LIBRARY
26 #    warning library version not passed in as a default (using 4.5.0)
27 #  endif
28 #  define LIBRARY_MAJOR_VERSION 4
29 #endif
30 #ifndef LIBRARY_MINOR_VERSION
31 #  define LIBRARY_MINOR_VERSION 5
32 #endif
33 #ifndef LIBRARY_SUBMINOR_VERSION
34 #  define LIBRARY_SUBMINOR_VERSION 0
35 #endif
36
37 @implementation NGMime
38
39 + (NSString *)libraryVersion {
40   static NSString *Version = nil;
41
42   if (Version == nil) {
43     Version = [[NSString alloc] initWithFormat:@"NGMime_%d.%d.%d",
44                         LIBRARY_MAJOR_VERSION, LIBRARY_MINOR_VERSION,
45                         LIBRARY_SUBMINOR_VERSION];
46   }
47   return Version;
48 }
49
50
51
52 - (void)_staticLinkClasses {
53 }
54
55 - (void)_staticLinkModules {
56 }
57
58 @end /* NGMime */