]> err.no Git - sope/blob - sope-appserver/WOExtensions/compat.m
PCH support
[sope] / sope-appserver / WOExtensions / compat.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 "common.h"
23
24 @interface WODragContainer : WODynamicElement
25 @end
26
27 @interface WODropContainer : WODynamicElement
28 @end
29
30 @interface WODragScript : WODynamicElement
31 @end
32
33 @interface WODropScript : WODynamicElement
34 @end
35
36 @implementation WODragContainer
37
38 + (id)allocWithZone:(NSZone *)_zone {
39   static Class realClass = Nil;
40   if (realClass == Nil) {
41     NSLog(@"DEPRECATED: %@ !", self);
42     realClass = NSClassFromString(@"WEDragContainer");
43     NSAssert(realClass, @"missing WEDragContainer !");
44   }
45   return [realClass allocWithZone:_zone];
46 }
47
48 @end
49
50 @implementation WODropContainer
51
52 + (id)allocWithZone:(NSZone *)_zone {
53   static Class realClass = Nil;
54   if (realClass == Nil) {
55     NSLog(@"DEPRECATED: %@ !", self);
56     realClass = NSClassFromString(@"WEDropContainer");
57     NSAssert(realClass, @"missing WEDropContainer !");
58   }
59   return [realClass allocWithZone:_zone];
60 }
61
62 @end
63
64 @implementation WODragScript
65
66 + (id)allocWithZone:(NSZone *)_zone {
67   static Class realClass = Nil;
68   if (realClass == Nil) {
69     NSLog(@"DEPRECATED: %@ !", self);
70     realClass = NSClassFromString(@"WEDragScript");
71     NSAssert(realClass, @"missing WEDropScript !");
72   }
73   return [realClass allocWithZone:_zone];
74 }
75
76 @end
77
78 @implementation WODropScript
79
80 + (id)allocWithZone:(NSZone *)_zone {
81   static Class realClass = Nil;
82   if (realClass == Nil) {
83     NSLog(@"DEPRECATED: %@ !", self);
84     realClass = NSClassFromString(@"WEDropScript");
85     NSAssert(realClass, @"missing WEDragScript !");
86   }
87   return [realClass allocWithZone:_zone];
88 }
89
90 @end