Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef NOTIFY_TIME_H
- #define NOTIFY_TIME_H
- #include <string>
- #include <vector>
- #include "event.h"
- namespace time_constant
- {
- const std::string days[7] = { "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" };
- constexpr unsigned short warn_time = 0, start_time = 1, end_time = 2;
- constexpr unsigned short warn_notif = 0, start_notif = 1, end_notif = 2, about_to_start_notif = 3, in_progress_notif = 4;
- const std::string cmd = "notify-send";
- }
- void load_conf(std::vector<event_t>&, const std::string&);
- void event_loop(const std::vector<event_t>&, const bool);
- const unsigned current_time();
- const std::string current_weekday();
- void pause(const unsigned);
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement