View | Details | Raw Unified | Return to bug 212126 | Differences between
and this patch

Collapse All | Expand All

(-)Temperature.h (-2 / +4 lines)
Lines 22-35 Link Here
22
#ifndef _TEMPERATURE_H_
22
#ifndef _TEMPERATURE_H_
23
#define _TEMPERATURE_H_
23
#define _TEMPERATURE_H_
24
24
25
#include <fstream.h>
25
#include <fstream>
26
#include <X11/Xlib.h>
26
#include <X11/Xlib.h>
27
27
28
using std::ifstream;
29
28
#define APPNAME                 "Temperature.app"
30
#define APPNAME                 "Temperature.app"
29
#define VERSION                 "1.4"
31
#define VERSION                 "1.4"
30
#define INSTANCENAME            "temperature_app"
32
#define INSTANCENAME            "temperature_app"
31
#define CLASSNAME               "Temperature_app"
33
#define CLASSNAME               "Temperature_app"
32
#define METAR_URL               "http://weather.noaa.gov/pub/data/observations/metar/decoded/%s.TXT"
34
#define METAR_URL               "ftp://tgftp.nws.noaa.gov/data/observations/metar/decoded/%s.TXT"
33
#define UPDATE_INTERVAL         900
35
#define UPDATE_INTERVAL         900
34
#define TIME_POS                22
36
#define TIME_POS                22
35
#define TEMP_POS                35
37
#define TEMP_POS                35

Return to bug 212126