blob: 78efa819322444a1b7f5e9683aa000e1057cfdd6 [file] [log] [blame]
Romain Bertozzi88859c02016-12-05 16:34:55 -05001/*
2 * Copyright (C) 2016 Savoir-faire Linux Inc.
3 *
4 * Author: Romain Bertozzi <romain.bertozzi@savoirfairelinux.com>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 3 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
19 * USA.
20 */
21
22#import "FixtureFailStartDRingAdapter.h"
23
24#import "dring/dring.h"
25
26@implementation FixtureFailStartDRingAdapter
27
28- (BOOL)initDaemon {
29 return true;
30}
31
32- (BOOL)startDaemon {
33 return false;
34}
35
36- (void)fini {
37 DRing::fini();
38}
39
40- (void)pollEvents {
41 DRing::pollEvents();
42}
43
44- (NSString*)getVersion {
45 return [NSString stringWithUTF8String:DRing::version()];
46}
47
48@end