Initial commit

This commit is contained in:
ifish
2017-08-15 16:59:01 +08:00
commit bdc83e07ef
5766 changed files with 423223 additions and 0 deletions
@@ -0,0 +1,28 @@
//
// ShakeManager.h
// Yoosee
//
// Created by guojunyi on 14-7-25.
// Copyright (c) 2014年 guojunyi. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "GCDAsyncUdpSocket.h"
@protocol ShakeManagerDelegate <NSObject>
-(void)onReceiveLocalDevice:(NSString*)contactId type:(NSInteger)type flag:(NSInteger)flag address:(NSString*)address;
-(void)onSearchEnd;
@end
@interface ShakeManager : NSObject
@property (strong, nonatomic) GCDAsyncUdpSocket *socket;
@property (nonatomic) BOOL isSearching;
@property (nonatomic) NSInteger searchTime;
@property (assign) id<ShakeManagerDelegate> delegate;
+ (id)sharedDefault;
-(BOOL)search;
-(int)ApModeGetID;
-(BOOL)ApModeSetWifiPassword:(NSString*)password;
@end