1 #ifndef ERIS_CALENDAR_H 2 #define ERIS_CALENDAR_H 4 #include <sigc++/trackable.h> 5 #include <sigc++/connection.h> 15 typedef std::map<std::string, Element> MapType;
33 bool valid()
const {
return m_valid; }
35 unsigned int year()
const {
return m_year; }
36 unsigned int month()
const {
return m_month; }
37 unsigned int dayOfMonth()
const {
return m_dayOfMonth; }
39 unsigned int seconds()
const {
return m_seconds; }
40 unsigned int minutes()
const {
return m_minutes; }
41 unsigned int hours()
const {
return m_hours; }
50 unsigned int m_seconds,
64 unsigned int secondsPerMinute()
const {
return m_secondsPerMinute; }
65 unsigned int minutesPerHour()
const {
return m_minutesPerHour; }
66 unsigned int hoursPerDay()
const {
return m_hoursPerDay; }
72 void topLevelEntityChanged();
73 void calendarAttrChanged(
const Atlas::Message::Element& value);
75 void initFromCalendarAttr(
const Atlas::Message::MapType& cal);
79 unsigned int m_daysPerMonth,
85 sigc::connection m_calendarObserver;
Encapsulate a decoded world time instance.
Definition: Calendar.h:28
Every Eris class and type lives inside the Eris namespace; certain utility functions live in the Util...
Definition: Account.cpp:34
sigc::signal< void > Updated
Emitted when the calendar is updated.
Definition: Calendar.h:69
Definition: Calendar.h:57
Definition: BaseConnection.h:18
The player's avatar representation.
Definition: Avatar.h:34