mirror of
https://github.com/zhigang1992/CERoundProgressView.git
synced 2026-01-12 22:46:24 +08:00
28 lines
514 B
Objective-C
28 lines
514 B
Objective-C
//
|
|
// CEPlayer.h
|
|
// RoundProgress
|
|
//
|
|
// Created by Renaud Pradenc on 04/06/12.
|
|
// Copyright (c) 2012 Céroce. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
@class CEPlayer;
|
|
|
|
@protocol CEPlayerDelegate <NSObject>
|
|
|
|
- (void) player:(CEPlayer *)player didReachPosition:(float)position;
|
|
- (void) playerDidStop:(CEPlayer *)player;
|
|
|
|
@end
|
|
|
|
@interface CEPlayer : NSObject
|
|
|
|
- (void) play;
|
|
- (void) pause;
|
|
@property (assign) float position; // 0..1
|
|
@property (retain) id <CEPlayerDelegate> delegate;
|
|
|
|
@end
|