mirror of
https://github.com/zhigang1992/shadowsocks-iOS.git
synced 2026-04-06 22:39:58 +08:00
32 lines
666 B
Objective-C
32 lines
666 B
Objective-C
//
|
|
// AQPageManager.h
|
|
// AquaWeb
|
|
//
|
|
// Created by clowwindy on 11-6-18.
|
|
// Copyright 2011年 __MyCompanyName__. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import "SWBPage.h"
|
|
|
|
@interface SWBPageManager : NSObject {
|
|
NSMutableArray *pages;
|
|
NSMutableDictionary *tagToPageMapping;
|
|
}
|
|
|
|
@property (nonatomic,readonly) NSArray *pages;
|
|
@property (nonatomic,readonly) NSMutableDictionary *tagToPageMapping;
|
|
@property (nonatomic,readonly) NSInteger selectedIndex;
|
|
|
|
-(SWBPage *)addPageWithTag:(NSInteger)tag;
|
|
-(void)removePage:(NSInteger)tag;
|
|
|
|
-(void)initMappingAndTabsByPages;
|
|
|
|
-(SWBPage *)pageByTag:(NSInteger)tag;
|
|
|
|
-(void)save;
|
|
-(void)load;
|
|
|
|
@end
|