summaryrefslogtreecommitdiff
path: root/ios/iosremote/iosremote/Classes/StopWatch.h
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2014-01-30 18:54:36 -0600
committerNorbert Thiebaud <nthiebaud@gmail.com>2014-01-30 18:54:36 -0600
commitbab7eebba127d603a9f8011fed290627e2a64423 (patch)
tree78559d307f528c9cde8f5fe6adaf5c3f3314b77d /ios/iosremote/iosremote/Classes/StopWatch.h
parent3d869cda8db03820dea8c4ba463eb155d05e933b (diff)
moved impress remote clients to a separate repository
Change-Id: I654e3af31a6915f08ff808b351d304da773ad267 see: git://gerrit.libreoffice.org/impress_remote
Diffstat (limited to 'ios/iosremote/iosremote/Classes/StopWatch.h')
-rw-r--r--ios/iosremote/iosremote/Classes/StopWatch.h47
1 files changed, 0 insertions, 47 deletions
diff --git a/ios/iosremote/iosremote/Classes/StopWatch.h b/ios/iosremote/iosremote/Classes/StopWatch.h
deleted file mode 100644
index caeacdda84e6..000000000000
--- a/ios/iosremote/iosremote/Classes/StopWatch.h
+++ /dev/null
@@ -1,47 +0,0 @@
-// -*- Mode: ObjC; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-//
-// This file is part of the LibreOffice project.
-//
-// This Source Code Form is subject to the terms of the Mozilla Public
-// License, v. 2.0. If a copy of the MPL was not distributed with this
-// file, You can obtain one at http://mozilla.org/MPL/2.0/.
-
-#import <Foundation/Foundation.h>
-
-#define TIMER_STATE_RUNNING 0
-#define TIMER_STATE_PAUSED 1
-#define TIMER_STATE_CLEARED 2
-
-@protocol StopWatchDelegate <NSObject>
-
-- (void) setTitle:(NSString *) title sender:(id)sender;
-
-@end
-
-/**
- This class controls the behavior of stopwatch timing widget.
- **/
-
-@interface StopWatch : NSObject
-
-// StopWatch
-@property (strong, nonatomic) NSTimer *stopWatchTimer;
-@property (strong, nonatomic) NSDate *startDate;
-@property BOOL set;
-@property (weak, nonatomic) id<StopWatchDelegate> delegate;
-
-// initialzie Stopwatch with relative UIButton/UILabel elements
-- (StopWatch *) initWithStartButton:(UIButton *)startButton
- ClearButton:(UIButton *)clearButton
- TimeLabel:(UILabel *)timeLabel;
-// initialzie Stopwatch with a tableviewCell which contains relative UIButton/UILabel elements
-- (void) setupWithTableViewCell:(UITableViewCell *)cell;
-
-// Start/Pause/Resume the stopwatch
-- (void) start;
-// Stop the stopwatch and update seconds left to its original value
-- (void) clear;
-// Keep start button icon up-to-date with respect to its current state
-- (void) updateStartButtonIcon;
-
-@end