From 5173cf7921671c1e9cf1d3ff146faa41dc9f42b6 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Fri, 9 Jan 2009 17:26:25 +0000 Subject: [PATCH] Monotone-Parent: 2df01a07bf4988a15db9c9f3955f56b8da0448e5 Monotone-Revision: 6866d4abaee108a54dd6fba0c2f1d7d1c2988643 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2009-01-09T17:26:25 Monotone-Branch: ca.inverse.sogo --- Main/SOGo.h | 44 ++++++++++++++++++++++++++++++++++++++++++++ Main/SOGo.m | 12 +----------- 2 files changed, 45 insertions(+), 11 deletions(-) create mode 100644 Main/SOGo.h diff --git a/Main/SOGo.h b/Main/SOGo.h new file mode 100644 index 000000000..96f4397a9 --- /dev/null +++ b/Main/SOGo.h @@ -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 + +@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 */ diff --git a/Main/SOGo.m b/Main/SOGo.m index 79a6326a0..4b83530fb 100644 --- a/Main/SOGo.m +++ b/Main/SOGo.m @@ -31,7 +31,6 @@ #import #import -#import #import #import #import @@ -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