2011-02-24 21:32:27 +01:00
|
|
|
/* MAPIStoreGCSFolder.h - this file is part of SOGo
|
2010-10-01 20:54:30 +02:00
|
|
|
*
|
2012-08-17 21:04:57 +02:00
|
|
|
* Copyright (C) 2011-2012 Inverse inc
|
2010-10-01 20:54:30 +02:00
|
|
|
*
|
|
|
|
* 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
|
2011-02-24 21:32:27 +01:00
|
|
|
* the Free Software Foundation; either version 2, or (at your option)
|
2010-10-01 20:54:30 +02:00
|
|
|
* 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.
|
|
|
|
*/
|
|
|
|
|
2011-02-24 21:32:27 +01:00
|
|
|
#ifndef MAPISTOREGCSFOLDER_H
|
|
|
|
#define MAPISTOREGCSFOLDER_H
|
2010-10-01 20:54:30 +02:00
|
|
|
|
2011-02-24 21:32:27 +01:00
|
|
|
#import "MAPIStoreFolder.h"
|
2010-10-01 20:54:30 +02:00
|
|
|
|
2011-12-01 22:13:09 +01:00
|
|
|
@class NSArray;
|
2011-05-30 23:12:56 +02:00
|
|
|
@class NSCalendarDate;
|
2011-09-20 21:37:03 +02:00
|
|
|
@class NSData;
|
2011-09-14 20:33:44 +02:00
|
|
|
@class NSMutableDictionary;
|
2011-07-28 02:55:50 +02:00
|
|
|
@class NSNumber;
|
|
|
|
@class NSString;
|
2011-05-30 23:12:56 +02:00
|
|
|
|
2011-02-24 21:32:27 +01:00
|
|
|
@interface MAPIStoreGCSFolder : MAPIStoreFolder
|
2011-07-28 02:55:50 +02:00
|
|
|
{
|
2012-06-29 19:59:38 +02:00
|
|
|
SOGoMAPIDBMessage *versionsMessage;
|
2011-12-01 22:13:09 +01:00
|
|
|
NSArray *activeUserRoles;
|
2012-03-12 07:03:56 +01:00
|
|
|
EOQualifier *componentQualifier;
|
2011-07-28 02:55:50 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
/* synchronisation */
|
|
|
|
- (BOOL) synchroniseCache;
|
2012-03-16 22:05:41 +01:00
|
|
|
- (void) updateVersionsForMessageWithKey: (NSString *) messageKey
|
|
|
|
withChangeKey: (NSData *) newChangeKey;
|
2011-07-28 02:55:50 +02:00
|
|
|
- (NSNumber *) lastModifiedFromMessageChangeNumber: (NSNumber *) changeNum;
|
|
|
|
- (NSNumber *) changeNumberForMessageWithKey: (NSString *) messageKey;
|
2011-09-20 21:37:03 +02:00
|
|
|
- (NSData *) changeKeyForMessageWithKey: (NSString *) messageKey;
|
|
|
|
- (NSData *) predecessorChangeListForMessageWithKey: (NSString *) messageKey;
|
|
|
|
|
2011-12-01 22:13:09 +01:00
|
|
|
- (NSArray *) activeUserRoles;
|
|
|
|
|
2012-03-12 07:03:56 +01:00
|
|
|
- (EOQualifier *) componentQualifier;
|
|
|
|
- (EOQualifier *) contentComponentQualifier;
|
|
|
|
|
2011-02-24 21:32:27 +01:00
|
|
|
/* subclasses */
|
2011-12-01 22:29:17 +01:00
|
|
|
- (EOQualifier *) aclQualifier;
|
2012-03-12 07:03:56 +01:00
|
|
|
- (NSString *) component;
|
2010-10-01 20:54:30 +02:00
|
|
|
|
|
|
|
@end
|
|
|
|
|
2011-02-24 21:32:27 +01:00
|
|
|
#endif /* MAPISTOREGCSFOLDER_H */
|