mirror of
https://github.com/Derisis13/Shutter.git
synced 2025-12-06 19:32:48 +01:00
Changed comments, variable names and filenames to be in English
This commit is contained in:
10
timing.h
10
timing.h
@@ -1,19 +1,23 @@
|
||||
//
|
||||
// Created by lacko on 08/08/2021.
|
||||
//
|
||||
#ifndef _IDOZITES_H_
|
||||
#define _IDOZITES_H_
|
||||
#ifndef _TIMING_H_
|
||||
#define _TIMING_H_
|
||||
|
||||
#include "shutter.h"
|
||||
#include <time.h>
|
||||
#include <stdio.h>
|
||||
|
||||
//reads the timing and percentage form the schedule file
|
||||
void get_timing (shutter *r, FILE *schedule);
|
||||
|
||||
//checks whether it's time to raise/lower and acts accordingly
|
||||
buttons check_timing (shutter *r);
|
||||
|
||||
//checks the schedule file and sets the readhead to today's label
|
||||
int find_today (FILE *schedule);
|
||||
|
||||
//sets the readhead to the next day-label
|
||||
int find_next_day (FILE *f);
|
||||
|
||||
#endif //_IDOZITES_H_
|
||||
#endif //_TIMING_H_
|
||||
Reference in New Issue
Block a user