MainView.h
上传用户:xy800802
上传日期:2020-12-29
资源大小:194k
文件大小:2k
- #import <CoreFoundation/CoreFoundation.h>
- #import <Foundation/Foundation.h>
- #import <UIKit/UIKit.h>
- #import <CoreGraphics/CGColor.h>
- #import <UIKit/UITextView.h>
- #import <UIKit/UIAutocorrectImageView.h>
- #import <UIKit/UINavigationBar.h>
- #import <UIKit/UINavigationItem.h>
- #import <UIKit/UISegmentedControl.h>
- #import <UIKit/UITransitionView.h>
- #import <UIKit/UIAlertSheet.h>
- #import <UIKit/UIWebView.h>
- #import <Foundation/NSURLRequest.h>
- #import "MyTable.h"
- #import "Util.h"
- #define pages_scroll_left 1
- #define pages_scroll_right 2
- #define pages_scroll_up 3
- #define pages_scroll_down 7
- @interface MainView : UIView
- {
- UINavigationBar *navBar;
- UINavigationItem *navTitle;
- UITextView *aboutView; // 0
- UITextView *exploreView; // 1
- UITextView *fileView; // 2
- UIAutocorrectImageView *imageView; // 2
- //UIWebView *htmlView; // 2
- UITransitionView *transitionView;
- UIAlertSheet *alertSheet;
- MyTable *exploreTable;
- NSString *currentPath;
- int currentPage;
- int depth;
- }
- -(id)initWithFrame:(CGRect)rect;
- -(void)dealloc;
- -(void)showabout;
- -(void)showparent;
- -(void)showrootdir;
- -(void)showSub:(NSString*)path;
- -(void)showpath:(NSString*)path;
- -(void)showfile:(NSString*)file;
- -(void)setNavBar:(int)state withTitle:(NSString*)title;
- -(void)navigationBar:(UINavigationBar *)navbar buttonClicked:(int)button;
- -(void)initTable;
- -(void)alertSheet:(UIAlertSheet*)sheet buttonClicked:(int)button;
- -(void)showmsg:(NSString*)title content:(NSString*)body;
- @end