@class PageTabBarControllerWrapper;

@interface PageTabBarController : UITabBarController <PagePanel, UITabBarControllerDelegate, LuaObjectProxyCompatible, IPageTabBarController>{
    PageM *model;
    NSURL *pageURL;
    PageSandbox *pageSandbox;
    NSMutableArray *viewControllerList;
    PageTabBarControllerWrapper *wrapper;
    BOOL created;
    UIViewController<PagePanel> *parent;
}

@property (nonatomic, readonly) NSMutableArray *viewControllerList;
@property (nonatomic, readonly) PageM *model;

- (UIViewController *) buildViewController: (TabItemM *) tm;

- (BOOL) selectByName: (NSString *) name;

- (BOOL) updateName: (NSString *) name badge: (NSObject *) badge;

- (BOOL) updateIndex: (NSUInteger) idx badge: (NSObject *) badge;

- (BOOL) selectByIndex: (NSUInteger) idx;
@end
