]> err.no Git - scalable-opengroupware.org/blob - UI/Common/UIxPageFrame.h
git-svn-id: http://svn.opengroupware.org/SOGo/inverse/trunk@1236 d1b88da0-ebda-0310...
[scalable-opengroupware.org] / UI / Common / UIxPageFrame.h
1 /*
2   Copyright (C) 2004-2005 SKYRIX Software AG
3
4   This file is part of OpenGroupware.org.
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
22 #ifndef UIXPAGEFRAME_H
23 #define UIXPAGEFRAME_H
24
25 #import <SOGoUI/UIxComponent.h>
26 #import <NGObjWeb/WEClientCapabilities.h>
27
28 @class NSString;
29 @class NSMutableArray;
30
31 @interface WOComponent (PopupExtension)
32
33 - (BOOL) isPopup;
34
35 @end
36
37 @interface UIxPageFrame : UIxComponent
38 {
39   NSString *title;
40   NSString *toolbar;
41   id item;
42   BOOL isPopup;
43   NSMutableArray *additionalJSFiles;
44 }
45
46 - (NSString *) commonLocalizableStrings;
47 - (NSString *) productLocalizableStrings;
48
49 - (NSString *) pageJavaScriptURL;
50 - (NSString *) productJavaScriptURL;
51 - (BOOL) hasPageSpecificJavaScript;
52 - (BOOL) hasProductSpecificJavaScript;
53
54 - (NSArray *) additionalJSFiles;
55
56 - (NSString *) pageCSSURL;
57 - (NSString *) productCSSURL;
58 - (BOOL) hasPageSpecificCSS;
59 - (BOOL) hasProductSpecificCSS;
60
61 - (void) setPopup: (BOOL) popup;
62 - (BOOL) isPopup;
63
64 - (void) setToolbar: (NSString *) newToolbar;
65 - (NSString *) toolbar;
66
67 - (BOOL) isCompatibleBrowser;
68 - (BOOL) isIE7Compatible;
69 - (BOOL) isMac;
70
71 @end
72
73 #endif /* UIXPAGEFRAME_H */