summaryrefslogtreecommitdiff
path: root/plugins/!NotAdopted/name_day/calendar/calendar.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/!NotAdopted/name_day/calendar/calendar.h')
-rw-r--r--plugins/!NotAdopted/name_day/calendar/calendar.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/plugins/!NotAdopted/name_day/calendar/calendar.h b/plugins/!NotAdopted/name_day/calendar/calendar.h
new file mode 100644
index 0000000000..fda275297f
--- /dev/null
+++ b/plugins/!NotAdopted/name_day/calendar/calendar.h
@@ -0,0 +1,37 @@
+/**
+ * FIXME:
+ *
+ */
+#ifndef calendar_h
+#define calendar_h
+
+#include <vector>
+#include <string>
+using namespace std;
+
+class calendar_t
+{
+ public:
+ calendar_t (const char *const *const static_names, const size_t names_count, const unsigned icon_id);
+ ~calendar_t ();
+
+ const string &get_name (const unsigned day_in_year) const;
+ const string &get_name (const unsigned day, const unsigned month) const;
+
+ unsigned get_day_in_year (const unsigned month, const unsigned day) const;
+ unsigned get_name_count (void) const;
+
+
+
+ string country;
+ unsigned icon_id;
+
+ private:
+ calendar_t () {};
+
+ vector<string> names;
+
+};
+
+
+#endif // calendar_h \ No newline at end of file