if ([self respondsToSelector: @selector (groupDavResourceType)])
{
- groupDavCollection = [NSArray arrayWithObjects: [self groupDavResourceType],
- XMLNS_GROUPDAV, nil];
- rType = [NSArray arrayWithObjects: @"collection", groupDavCollection, nil];
+ groupDavCollection
+ = [NSArray arrayWithObjects: [self groupDavResourceType],
+ XMLNS_GROUPDAV, nil];
+ rType = [NSArray arrayWithObjects: @"collection", groupDavCollection,
+ nil];
}
else
rType = [NSArray arrayWithObject: @"collection"];
name = [names objectAtIndex: i];
r = [name rangeOfString: @"."];
if (r.length == 0)
- name = [[name stringByAppendingString:@"."] stringByAppendingString: ext];
- [ma addObject:name];
+ name = [NSMutableString stringWithFormat: @"%@.%@", name, ext];
+ [ma addObject: name];
}
names = ma;
/* folder type */
-- (NSString *)outlookFolderClass {
+- (NSString *) outlookFolderClass
+{
+ [self subclassResponsibility: _cmd];
+
return nil;
}
/* description */
-- (void)appendAttributesToDescription:(NSMutableString *)_ms {
+- (void) appendAttributesToDescription: (NSMutableString *) _ms
+{
[super appendAttributesToDescription:_ms];
[_ms appendFormat:@" ocs=%@", [self ocsPath]];
}
-- (NSString *)loggingPrefix {
+- (NSString *) loggingPrefix
+{
return [NSString stringWithFormat:@"<0x%08X[%@]:%@>",
self, NSStringFromClass([self class]),
[self nameInContainer]];
protectedBy = "Access Object";
defaultRoles = {
"Change Images And Files" = ( "Owner", "ObjectEditor" );
- "WebDAV Access" = ( "Owner", "ObjectViewer" );
+ "WebDAV Access" = ( "Owner", "AuthorizedSubscriber" );
"Access Object" = ( "Owner", "ObjectViewer" );
"Access Contents Information" = ( "Owner", "ObjectViewer" );
};
UIxCalMulticolumnDayView.m \
UIxCalWeekView.m \
UIxCalMonthView.m \
- UIxCalMonthViewOld.m \
UIxAptTableView.m \
\
UIxCalListingActions.m \
UIxCalDateLabel.m \
UIxDatePicker.m \
UIxTimeDateControl.m \
- UIxCalParticipationStatusView.m \
- UIxCalMonthOverview.m
+ UIxCalParticipationStatusView.m \
+ UIxCalMonthOverview.m \
+ UIxCalMonthViewOld.m
SchedulerUI_RESOURCE_FILES += \
Version \
Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA.
*/
-// $Id$
#import <Foundation/NSObject.h>
@interface SchedulerUIProduct : NSObject
-{
-}
-
@end
-#include "common.h"
-
@implementation SchedulerUIProduct
@end /* SchedulerUIProduct */
Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA.
*/
-// $Id: UIxAppointmentEditor.m 181 2004-08-11 15:13:25Z helge $
-#include <SOGoUI/UIxComponent.h>
+#import <Foundation/NSCalendarDate.h>
+#import <Foundation/NSNull.h>
+#import <Foundation/NSValue.h>
+
+#import <NGExtensions/NGCalendarDateRange.h>
+#import <NGExtensions/NSCalendarDate+misc.h>
+#import <NGCards/iCalPerson.h>
+
+#import <SoObjects/Appointments/SOGoAppointmentFolder.h>
+#import <SoObjects/Appointments/SOGoFreeBusyObject.h>
+#import <SOGoUI/UIxComponent.h>
@interface UIxAppointmentProposal : UIxComponent
{
- (void)setICalPersons:(NSArray *)_ps asQueryParameter:(NSString *)_qp;
@end
-#include <SoObjects/Appointments/SOGoAppointmentFolder.h>
-#include <SoObjects/Appointments/SOGoFreeBusyObject.h>
-#include <NGExtensions/NGCalendarDateRange.h>
-#include <NGCards/NGCards.h>
-#include "common.h"
-
@implementation UIxAppointmentProposal
- (void)dealloc {
Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA.
*/
-// $Id$
-#include <NGObjWeb/SoComponent.h>
+#import <NGObjWeb/SoComponent.h>
@class NSArray, NSCalendarDate;
@end
-#include "common.h"
-
@implementation UIxAptTableView
- (void)dealloc {
Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA.
*/
-// $Id$
-#include <SOGoUI/UIxComponent.h>
+#import <Foundation/NSCalendarDate.h>
+
+#import <NGCards/NSCalendarDate+ICal.h>
+#import <NGExtensions/NSCalendarDate+misc.h>
+
+#import <SOGoUI/UIxComponent.h>
@interface UIxCalDateLabel : UIxComponent
{
@end
-#include "common.h"
-#include <NGCards/NGCards.h>
-
@implementation UIxCalDateLabel
- (void)dealloc {
/* appointments */
-- (NSArray *)appointments;
+// - (NSArray *)appointments;
@end
-// $Id$
-#include "UIxCalMonthOverview.h"
-#include "common.h"
-#include <SOGoUI/SOGoAptFormatter.h>
+#import <Foundation/NSCalendarDate.h>
+#import <NGExtensions/NSCalendarDate+misc.h>
+
+#import <SOGoUI/SOGoAptFormatter.h>
+
+#import "UIxCalMonthOverview.h"
@implementation UIxCalMonthOverview
/* appointments */
-- (NSArray *)appointments {
- return [self fetchCoreAppointmentsInfos];
-}
+// - (NSArray *)appointments {
+// return [self fetchCoreAppointmentsInfos];
+// }
@end /* UIxCalMonthOverview */
+++ /dev/null
-/* UIxCalMonthView.h - this file is part of SOGo
- *
- * Copyright (C) 2006 Inverse groupe conseil
- *
- * Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
- *
- * This file is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2, or (at your option)
- * any later version.
- *
- * This file is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; see the file COPYING. If not, write to
- * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
- */
-
-#ifndef UIXCALMONTHVIEW_H
-#define UIXCALMONTHVIEW_H
-
-#import "UIxCalView.h"
-
-@class NSArray;
-@class NSCalendarDate;
-@class NSDictionary;
-@class NSMutableDictionary;
-
-@class SOGoAptFormatter;
-@class SOGoDateFormatter;
-
-@protocol WOActionResults;
-
-@interface UIxCalMonthView : UIxCalView
-{
- SOGoAptFormatter *monthAptFormatter;
- SOGoDateFormatter *dateFormatter;
-
- NSMutableDictionary *sortedAppointments;
- NSArray *daysToDisplay;
- NSCalendarDate *currentTableDay;
- NSArray *currentTableColumn;
-
- NSArray *dayNames;
- NSArray *monthNames;
-}
-
-- (NSDictionary *) monthBeforePrevMonthQueryParameters;
-- (NSDictionary *) prevMonthQueryParameters;
-- (NSDictionary *) nextMonthQueryParameters;
-- (NSDictionary *) monthAfterNextMonthQueryParameters;
-
-- (NSString *) monthNameOfTwoMonthAgo;
-- (NSString *) monthNameOfOneMonthAgo;
-- (NSString *) monthNameOfThisMonth;
-- (NSString *) monthNameOfNextMonth;
-- (NSString *) monthNameOfTheMonthAfterNextMonth;
-
-- (NSArray *) daysToDisplay;
-
-- (NSString *) labelForCurrentDayToDisplay;
-- (NSString *) dayCellClasses;
-
-- (void) setCurrentTableDay: (NSCalendarDate *) newCurrentTableDay;
-- (NSCalendarDate *) currentTableDay;
-- (NSString *) labelForCurrentDayCell;
-
-@end
-
-#endif /* UIXCALMONTHVIEW_H */
-// $Id: UIxCalMonthView.m 191 2004-08-12 16:28:32Z helge $
+#import <Foundation/NSCalendarDate.h>
+#import <NGExtensions/NSCalendarDate+misc.h>
-#include <SOGo/NSCalendarDate+SOGo.h>
-#include "UIxCalMonthViewOld.h"
-#include "common.h"
+#import <SOGo/NSCalendarDate+SOGo.h>
+
+#import "UIxCalMonthViewOld.h"
@implementation UIxCalMonthViewOld
Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA.
*/
-// $Id$
-#include <NGObjWeb/NGObjWeb.h>
+#import <NGCards/iCalPerson.h>
+#import <NGObjWeb/WOComponent.h>
@interface UIxCalParticipationStatusView : WOComponent
{
@end
-#include <NGCards/NGCards.h> /* for iCalPersonPartStat */
-#include "common.h"
-
@implementation UIxCalParticipationStatusView
- (void)setPartStat:(id)_partStat {
-// $Id$
-#import "common.h"
//#import <OGoContentStore/OCSFolder.h>
#import <NGObjWeb/SoSecurityManager.h>
#import <NGObjWeb/SoUser.h>
#import <NGExtensions/NGCalendarDateRange.h>
+#import <NGExtensions/NSCalendarDate+misc.h>
+#import <NGExtensions/NSNull+misc.h>
+#import <NGExtensions/NSObject+Logs.h>
+#import <NGExtensions/NSString+misc.h>
#import <NGCards/NGCards.h>
+#import <SoObjects/Appointments/SOGoAppointmentFolder.h>
+#import <SoObjects/SOGo/NSArray+Utilities.h>
+#import <SoObjects/SOGo/SOGoUser.h>
+#import <SoObjects/SOGo/SOGoObject.h>
+
#import <SOGoUI/SOGoAptFormatter.h>
-#import "UIxComponent+Scheduler.h"
-#import "SoObjects/Appointments/SOGoAppointmentFolder.h"
-#import <SOGo/NSArray+Utilities.h>
-#import <SOGo/SOGoUser.h>
-#import <SOGo/SOGoObject.h>
+#import "UIxComponent+Scheduler.h"
#import "UIxCalView.h"
02111-1307, USA.
*/
-#include <NGObjWeb/WOComponent.h>
+#import <Foundation/NSValue.h>
+#import <Foundation/NSCalendarDate.h>
+
+#import <NGObjWeb/WOComponent.h>
+#import <NGObjWeb/WOContext.h>
+#import <NGObjWeb/WORequest.h>
+#import <NGExtensions/NSObject+Logs.h>
@class NSString;
BOOL isDisabled;
}
-- (NSString *)dateID;
-- (NSString *)dateFormat;
-- (NSString *)jsDateFormat;
-- (BOOL)useISOFormats;
+- (NSString *) dateID;
+- (NSString *) dateFormat;
+- (NSString *) jsDateFormat;
+- (BOOL) useISOFormats;
@end
-#include "common.h"
-
@implementation UIxDatePicker
- (id) init
*/
// $Id: UIxTaskEditor.m 181 2004-08-11 15:13:25Z helge $
-#include <SOGoUI/UIxComponent.h>
+#import <Foundation/NSCalendarDate.h>
+#import <Foundation/NSNull.h>
+#import <Foundation/NSValue.h>
+
+#import <NGExtensions/NGCalendarDateRange.h>
+#import <NGExtensions/NSCalendarDate+misc.h>
+#import <NGCards/iCalPerson.h>
+
+#import <SoObjects/Appointments/SOGoAppointmentFolder.h>
+#import <SoObjects/Appointments/SOGoFreeBusyObject.h>
+#import <SOGoUI/UIxComponent.h>
@interface UIxTaskProposal : UIxComponent
{
- (void)setICalPersons:(NSArray *)_ps asQueryParameter:(NSString *)_qp;
@end
-#include <SoObjects/Appointments/SOGoAppointmentFolder.h>
-#include <SoObjects/Appointments/SOGoFreeBusyObject.h>
-#include <NGExtensions/NGCalendarDateRange.h>
-#include <NGCards/NGCards.h>
-#include "common.h"
-
@implementation UIxTaskProposal
- (void)dealloc {
+++ /dev/null
-/*
- Copyright (C) 2004 SKYRIX Software AG
-
- This file is part of OpenGroupware.org.
-
- OGo is free software; you can redistribute it and/or modify it under
- the terms of the GNU Lesser General Public License as published by the
- Free Software Foundation; either version 2, or (at your option) any
- later version.
-
- OGo is distributed in the hope that it will be useful, but WITHOUT ANY
- WARRANTY; without even the implied warranty of MERCHANTABILITY or
- FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
- License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with OGo; see the file COPYING. If not, write to the
- Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
- 02111-1307, USA.
-*/
-// $Id$
-
-#import <Foundation/Foundation.h>
-
-#if LIB_FOUNDATION_LIBRARY
-# import <Foundation/exceptions/GeneralExceptions.h>
-#elif NeXT_Foundation_LIBRARY || COCOA_Foundation_LIBRARY
-# import <NGExtensions/NGObjectMacros.h>
-# import <NGExtensions/NSString+Ext.h>
-#endif
-
-#import <NGExtensions/NGExtensions.h>
-#import <NGObjWeb/NGObjWeb.h>
-#import <NGObjWeb/SoObjects.h>
-
-#warning importing common.h is baaad