parent
8cfb0efb56
commit
f54ed3ad9c
|
@ -35,7 +35,7 @@
|
||||||
#import "AppDelegate.h"
|
#import "AppDelegate.h"
|
||||||
#import "UpdateNotificationController.h"
|
#import "UpdateNotificationController.h"
|
||||||
|
|
||||||
void LTLoadLanugageModel();
|
void LTLoadLanguageModel();
|
||||||
|
|
||||||
static NSString *kNextUpdateCheckDateKey = @"NextUpdateCheckDate";
|
static NSString *kNextUpdateCheckDateKey = @"NextUpdateCheckDate";
|
||||||
static NSString *kUpdateInfoEndpointKey = @"UpdateInfoEndpoint";
|
static NSString *kUpdateInfoEndpointKey = @"UpdateInfoEndpoint";
|
||||||
|
@ -55,7 +55,7 @@ static const NSTimeInterval kNextCheckInterval = 86400.0;
|
||||||
|
|
||||||
- (void)applicationDidFinishLaunching:(NSNotification *)inNotification
|
- (void)applicationDidFinishLaunching:(NSNotification *)inNotification
|
||||||
{
|
{
|
||||||
LTLoadLanugageModel();
|
LTLoadLanguageModel();
|
||||||
|
|
||||||
[self checkForUpdate];
|
[self checkForUpdate];
|
||||||
}
|
}
|
||||||
|
|
|
@ -61,4 +61,4 @@
|
||||||
@end
|
@end
|
||||||
|
|
||||||
// the shared language model object
|
// the shared language model object
|
||||||
extern "C" void LTLoadLanugageModel();
|
extern "C" void LTLoadLanguageModel();
|
||||||
|
|
|
@ -860,7 +860,7 @@ public:
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
|
||||||
void LTLoadLanugageModel()
|
void LTLoadLanguageModel()
|
||||||
{
|
{
|
||||||
// load the language model; the performance of this function can be greatly improved
|
// load the language model; the performance of this function can be greatly improved
|
||||||
// with better loading/parsing methods
|
// with better loading/parsing methods
|
||||||
|
|
Loading…
Reference in New Issue