summaryrefslogtreecommitdiff
path: root/objective-c/test/Ice/hold/TestI.h
blob: a07d2f49f17af29bea2299562d45b137de1677b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// **********************************************************************
//
// Copyright (c) 2003-2015 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************


#import <HoldTest.h>

#include <dispatch/dispatch.h>

@interface Timer : NSObject
{
    dispatch_queue_t queue;
}
-(void) schedule:(void(^)())callback timeout:(ICEInt)timeout;
@end

@interface HoldI : TestHoldHold<TestHoldHold>
{
    ICEInt last;
    Timer* timer;
}

@end