Commit 55bc65e1 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

MacOSX/Framework/VLCAudio: Code cleanup and use Objective-C 2.0 @property....

MacOSX/Framework/VLCAudio: Code cleanup and use Objective-C 2.0 @property. (Patch by Enrique Osuna).
parent 912df971
......@@ -26,21 +26,23 @@
/* Notification Messages */
/**
* Standard notification messages that are emitted by VLCMedia object.
* Standard notification messages that are emitted by VLCAudio object.
*/
extern NSString *VLCMediaPlayerVolumeChanged;
extern NSString * VLCMediaPlayerVolumeChanged;
@class VLCLibrary;
// TODO: Documentation
/**
* TODO: Documentation VLCAudio
*/
@interface VLCAudio : NSObject
{
VLCLibrary *library; //< Library to control audio for
VLCLibrary * library; //< Library to control audio for
}
/* Properties */
- (void)setMute:(BOOL)value;
- (BOOL)isMuted;
- (void)setVolume:(int)value;
- (int)volume;
@property (setter=setMute:) BOOL isMuted;
@property (assign) int volume;
@end
......@@ -26,7 +26,7 @@
#import "VLCLibVLCBridging.h"
/* Notification Messages */
NSString *VLCMediaPlayerVolumeChanged = @"VLCMediaPlayerVolumeChanged";
NSString * VLCMediaPlayerVolumeChanged = @"VLCMediaPlayerVolumeChanged";
/* libvlc event callback */
// TODO: Callbacks
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment