2 Copyright (C) 2000-2005 SKYRIX Software AG
3 Copyright (C) 2006 Helge Hess
5 This file is part of SOPE.
7 SOPE is free software; you can redistribute it and/or modify it under
8 the terms of the GNU Lesser General Public License as published by the
9 Free Software Foundation; either version 2, or (at your option) any
12 SOPE is distributed in the hope that it will be useful, but WITHOUT ANY
13 WARRANTY; without even the implied warranty of MERCHANTABILITY or
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
15 License for more details.
17 You should have received a copy of the GNU Lesser General Public
18 License along with SOPE; see the file COPYING. If not, write to the
19 Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
23 #ifndef __NGObjWeb_WOContext_private_H__
24 #define __NGObjWeb_WOContext_private_H__
26 #include <NGObjWeb/WOContext.h>
28 @class WOComponent, WOSession, WOResponse, WOElement, WODynamicElement;
30 extern void WOContext_enterComponent
31 (WOContext *_ctx, WOComponent *_component, WOElement *element);
32 extern void WOContext_leaveComponent(WOContext *_ctx, WOComponent *_component);
34 @interface WOContext(NGObjWebInternal)
36 - (void)_addAwakeComponent:(WOComponent *)_component;
38 - (void)enterComponent:(WOComponent *)_component content:(WOElement *)_content;
39 - (void)leaveComponent:(WOComponent *)_component;
40 - (void)sleepComponents;
41 - (WOComponent *)parentComponent;
42 - (WODynamicElement *)componentContent;
44 - (void)setSession:(WOSession *)_session;
45 - (void)setNewSession:(WOSession *)_session;
46 - (void)setPage:(WOComponent *)_page;
47 - (void)setResponse:(WOResponse *)_response;
51 @interface WOContext(FormSupport)
53 - (void)addActiveFormElement:(WOElement *)_formElement;
54 - (WOElement *)activeFormElement;
58 #if !LIB_FOUNDATION_BOEHM_GC
60 @interface WOContext(DeallocNotifications)
61 /* dealloc observers are *not* retained !!! */
62 - (void)_objectWillDealloc:(id)_object;
63 - (void)addDeallocObserver:(id)_observer;
64 - (void)removeDeallocObserver:(id)_observer;
69 #endif /* __NGObjWeb_WOContext_private_H__ */