#import "LoadIndicatorController.h"


@implementation LoadIndicatorController

// START:code.delegates.updatelookback
- (void) updateLoadIndicator: (NSNotification *) notification {
    [loadIndicator setDoubleValue: [myWebView estimatedProgress]];
}
// END:code.delegates.updatelookback

-(void) awakeFromNib {
    [[NSNotificationCenter defaultCenter] 
        addObserver:self
        selector:@selector(updateLoadIndicator:)
        name:WebViewProgressEstimateChangedNotification 
        object:myWebView];
}
@end
