Monotone-Parent: c5bd8349d3bd533853811e2ced9d7a0f040f66e8

Monotone-Revision: 60d1f73fd64a52fd996c5bf572fea291b0222750

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2006-08-04T22:51:42
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2006-08-04 22:51:42 +00:00
parent 046fd5c270
commit 51e9e62e53
3 changed files with 78 additions and 0 deletions
+5
View File
@@ -1,5 +1,10 @@
2006-08-04 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* UI/Contacts/UIxContactFoldersView.[hm]: new class module serving
as a "view" for the SOGoContactFolders object. Does nothing but
redirect the browser to the URL of the personal address book of
the user. It does not even have a template.
* SoObjects/Contacts/SOGoPersonalAB.[hm]: new class module
implementing the SOGoContactSource protocol. Does nothing
currently but will be used to implement access to the personal
+32
View File
@@ -0,0 +1,32 @@
/* UIxContactFoldersView.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 UIXCONTACTFOLDERSVIEW_H
#define UIXCONTACTFOLDERSVIEW_H
#import <SOGoUI/UIxComponent.h>
@interface UIxContactFoldersView : UIxComponent
@end
#endif /* UIXCONTACTFOLDERSVIEW_H */
+41
View File
@@ -0,0 +1,41 @@
/* UIxContactFoldersView.m - 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.
*/
#import <Foundation/NSString.h>
#import <SoObjects/Contacts/SOGoContactFolders.h>
#import "common.h"
#import "UIxContactFoldersView.h"
@implementation UIxContactFoldersView
- (id) defaultAction
{
SOGoContactFolders *folders;
folders = [self clientObject];
return [self redirectToLocation: [folders defaultSourceName]];
}
@end