Subversion Repositories heating

Rev

Rev 35 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 35 Rev 40
Line 46... Line 46...
46
	public:
46
	public:
47
		html();
47
		html();
48
		~html();
48
		~html();
49
		void run();
49
		void run();
50
		HTCONF *addConfig(HTCONF *ht);
50
		HTCONF *addConfig(HTCONF *ht);
51
		void setGlobals(double night, double absent, bool m) { glb_night = night; glb_absent = absent; }
51
		void setGlobals(double night, double absent, bool m) { glb_night = night; glb_absent = absent; mode = m; }
52
		void doStop() { stop = true; }
52
		void doStop() { stop = true; }
53
		void addController(Controller *controller);
53
		void addController(Controller *controller);
54
 
54
 
55
	protected:
55
	protected:
-
 
56
		void setLocGlbNight(double d) { glb_night = d; }
-
 
57
 
56
		static int request_handler(void * cls, struct MHD_Connection * connection,
58
		static int request_handler(void * cls, struct MHD_Connection * connection,
57
							   const char * url, const char * method, const char * version,
59
							   const char * url, const char * method, const char * version,
58
							   const char * upload_data, size_t * upload_data_size, void ** ptr);
60
							   const char * upload_data, size_t * upload_data_size, void ** ptr);
59
		static void request_completed (void *cls, struct MHD_Connection *connection,
61
		static void request_completed (void *cls, struct MHD_Connection *connection,
60
								void **con_cls, enum MHD_RequestTerminationCode toe);
62
								void **con_cls, enum MHD_RequestTerminationCode toe);