Sha256: 34d85d5eadd63ac360807c22ecddf47b26e7efaf36ffc75c73a88f10e407e9ff

Contents?: true

Size: 341 Bytes

Versions: 14

Compression:

Stored size: 341 Bytes

Contents

#import "IBattery.h"
#import "BatteryFactoryBase.h"

static BatteryFactoryBase* ourBatteryFactory = nil;

@implementation BatteryFactorySingleton

+(id<IBatteryFactory>) getBatteryFactoryInstance {
    if (ourBatteryFactory == nil) {
        ourBatteryFactory = [[BatteryFactoryBase alloc] init];
    }
    return ourBatteryFactory;
}

@end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
rhodes-7.6.0 lib/commonAPI/indicators/ext/platform/iphone/impl/BatteryFactorySingleton.m
rhodes-7.5.1 lib/commonAPI/indicators/ext/platform/iphone/impl/BatteryFactorySingleton.m
rhodes-7.4.1 lib/commonAPI/indicators/ext/platform/iphone/impl/BatteryFactorySingleton.m
rhodes-7.1.17 lib/commonAPI/indicators/ext/platform/iphone/impl/BatteryFactorySingleton.m
rhodes-6.2.0 lib/commonAPI/indicators/ext/platform/iphone/impl/BatteryFactorySingleton.m
rhodes-6.0.11 lib/commonAPI/indicators/ext/platform/iphone/impl/BatteryFactorySingleton.m
rhodes-5.5.18 lib/commonAPI/indicators/ext/platform/iphone/impl/BatteryFactorySingleton.m
rhodes-5.5.17 lib/commonAPI/indicators/ext/platform/iphone/impl/BatteryFactorySingleton.m
rhodes-5.5.15 lib/commonAPI/indicators/ext/platform/iphone/impl/BatteryFactorySingleton.m
rhodes-5.5.0.22 lib/commonAPI/indicators/ext/platform/iphone/impl/BatteryFactorySingleton.m
rhodes-5.5.2 lib/commonAPI/indicators/ext/platform/iphone/impl/BatteryFactorySingleton.m
rhodes-5.5.0.7 lib/commonAPI/indicators/ext/platform/iphone/impl/BatteryFactorySingleton.m
rhodes-5.5.0.3 lib/commonAPI/indicators/ext/platform/iphone/impl/BatteryFactorySingleton.m
rhodes-5.5.0 lib/commonAPI/indicators/ext/platform/iphone/impl/BatteryFactorySingleton.m