2007-08-15 22:58:11 +02:00
|
|
|
/* WODirectAction+SOGo.h - this file is part of SOGo
|
|
|
|
*
|
2008-09-27 03:13:41 +02:00
|
|
|
* Copyright (C) 2007 Inverse inc.
|
2007-08-15 22:58:11 +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
|
|
|
|
* 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 WODIRECTACTION_SOGO_H
|
|
|
|
#define WODIRECTACTION_SOGO_H
|
|
|
|
|
|
|
|
#import <NGObjWeb/WODirectAction.h>
|
|
|
|
|
|
|
|
@class NSString;
|
2010-05-27 19:09:02 +02:00
|
|
|
@class WOResponse, WOResourceManager;
|
2007-08-15 22:58:11 +02:00
|
|
|
|
|
|
|
@interface WODirectAction (SOGoExtension)
|
|
|
|
|
2007-09-11 21:34:52 +02:00
|
|
|
- (WOResponse *) responseWithStatus: (unsigned int) status;
|
2007-12-13 20:25:01 +01:00
|
|
|
- (WOResponse *) responseWithStatus: (unsigned int) status
|
|
|
|
andString: (NSString *) contentString;
|
|
|
|
- (WOResponse *) responseWithStatus: (unsigned int) status
|
|
|
|
andJSONRepresentation: (NSObject *) contentObject;
|
2007-09-11 21:34:52 +02:00
|
|
|
- (WOResponse *) responseWith204;
|
2007-08-15 22:58:11 +02:00
|
|
|
- (WOResponse *) redirectToLocation: (NSString *) newLocation;
|
|
|
|
|
2007-11-26 18:40:44 +01:00
|
|
|
- (NSString *) labelForKey: (NSString *) _str;
|
|
|
|
|
2010-05-27 19:09:02 +02:00
|
|
|
- (WOResourceManager *) pageResourceManager;
|
|
|
|
- (NSString *) urlForResourceFilename: (NSString *) filename;
|
|
|
|
|
2007-08-15 22:58:11 +02:00
|
|
|
@end
|
|
|
|
|
|
|
|
#endif /* WODIRECTACTION_SOGO_H */
|