]> err.no Git - sope/blob - sope-mime/NGMime/NGMime.m
bd97c4a4ef09980358ea6dcede78f65e5160c3ae
[sope] / sope-mime / NGMime / NGMime.m
1 /*
2   Copyright (C) 2000-2003 SKYRIX Software AG
3
4   This file is part of OGo
5
6   OGo 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   OGo 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 OGo; 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 // $Id$
22
23 #include "NGMime.h"
24
25 #ifndef LIBRARY_MAJOR_VERSION
26 #  if !COCOA_Foundation_LIBRARY && !NeXT_Foundation_LIBRARY
27 #    warning library version not passed in as a default (using 4.2.0)
28 #  endif
29 #  define LIBRARY_MAJOR_VERSION 4
30 #endif
31 #ifndef LIBRARY_MINOR_VERSION
32 #  define LIBRARY_MINOR_VERSION 2
33 #endif
34 #ifndef LIBRARY_SUBMINOR_VERSION
35 #  define LIBRARY_SUBMINOR_VERSION 0
36 #endif
37
38 @implementation NGMime
39
40 + (NSString *)libraryVersion {
41   static NSString *Version = nil;
42
43   if (Version == nil) {
44     Version = [[NSString alloc] initWithFormat:@"NGMime_%d.%d.%d",
45                         LIBRARY_MAJOR_VERSION, LIBRARY_MINOR_VERSION,
46                         LIBRARY_SUBMINOR_VERSION];
47   }
48   return Version;
49 }
50
51
52
53 - (void)_staticLinkClasses {
54 }
55
56 - (void)_staticLinkModules {
57 }
58
59 @end /* NGMime */