public
Description: My OS X Thermometer client.
Clone URL: git://github.com/dustin/osx-thermometer.git
Search Repo:
osx-thermometer / TempReading.h
100644 29 lines (20 sloc) 0.474 kb
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
29
//
// TempReading.h
// Thermometer
// arch-tag: 8794A7F8-A4AE-11D8-8B79-000A957659CC
//
// Created by Dustin Sallings on Thu May 13 2004.
// Copyright (c) 2004 Dustin Sallings. All rights reserved.
//
 
#import <Foundation/Foundation.h>
 
 
@interface TempReading : NSObject {
 
  NSString *_name;
  NSDate *_ts;
  float _reading;
 
}
 
-(id)initWithName:(NSString *)n reading:(float)r;
 
-(NSString *)name;
-(NSDate *)readingTimestamp;
-(float)reading;
-(float)floatValue;
 
@end