Monotone-Parent: 2df01a07bf4988a15db9c9f3955f56b8da0448e5

Monotone-Revision: 6866d4abaee108a54dd6fba0c2f1d7d1c2988643

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2009-01-09T17:26:25
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2009-01-09 17:26:25 +00:00
parent a5013191b3
commit 5173cf7921
2 changed files with 45 additions and 11 deletions

44
Main/SOGo.h 100644
View File

@ -0,0 +1,44 @@
/*
Copyright (C) 2004-2005 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.
*/
#ifndef MAIN_SOGO_H
#define MAIN_SOGO_H
#import <NGObjWeb/SoApplication.h>
@class NSArray;
@class NSDictionary;
@class NSMutableDictionary;
@class SOGoCache;
@interface SOGo : SoApplication
{
NSMutableDictionary *localeLUT;
SOGoCache *cache;
}
- (NSDictionary *) currentLocaleConsideringLanguages:(NSArray *)_langs;
- (NSDictionary *) localeForLanguageNamed:(NSString *)_name;
@end
#endif /* MAIN_SOGO_H */

View File

@ -31,7 +31,6 @@
#import <GDLAccess/EOAdaptorChannel.h>
#import <GDLContentStore/GCSChannelManager.h>
#import <NGObjWeb/SoApplication.h>
#import <NGObjWeb/SoClassSecurityInfo.h>
#import <NGObjWeb/WOContext.h>
#import <NGObjWeb/WORequest.h>
@ -57,16 +56,7 @@
#import "SOGoProductLoader.h"
#import "NSException+Stacktrace.h"
@interface SOGo : SoApplication
{
NSMutableDictionary *localeLUT;
SOGoCache *cache;
}
- (NSDictionary *) currentLocaleConsideringLanguages:(NSArray *)_langs;
- (NSDictionary *) localeForLanguageNamed:(NSString *)_name;
@end
#import "SOGo.h"
@implementation SOGo