diff options
author | ritsuka <[email protected]> | 2015-02-20 08:03:55 +0000 |
---|---|---|
committer | ritsuka <[email protected]> | 2015-02-20 08:03:55 +0000 |
commit | 0c983a5fdc088d69325aafdaeaa4c1b04bea9c1f (patch) | |
tree | 273b4da108a472d557af2de1e61d06d119e78abe /macosx/HBDistributedArray.h | |
parent | d0c0f97e5e2160c0a198778f394b2327c7bb964e (diff) |
MacGui: add a protocol HBUniqueObject objects must implements if they are used in a HBDistributedArray.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6929 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBDistributedArray.h')
-rw-r--r-- | macosx/HBDistributedArray.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/macosx/HBDistributedArray.h b/macosx/HBDistributedArray.h index 4163fca17..e72484aae 100644 --- a/macosx/HBDistributedArray.h +++ b/macosx/HBDistributedArray.h @@ -9,6 +9,16 @@ extern NSString *HBDistributedArrayChanged; /** + * Objects in HBDistributedArray + * must implement this protocol. + */ +@protocol HBUniqueObject <NSObject> + +@property (nonatomic, readonly) NSString *uuid; + +@end + +/** * HBDistributedArray * a mutable array that share its content between processes. * post a HBDistributedArrayChanged when the content is changed |