diff options
Diffstat (limited to 'plugins/HistoryStats/src/column_group.h')
-rw-r--r-- | plugins/HistoryStats/src/column_group.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/plugins/HistoryStats/src/column_group.h b/plugins/HistoryStats/src/column_group.h new file mode 100644 index 0000000000..f8c68c704d --- /dev/null +++ b/plugins/HistoryStats/src/column_group.h @@ -0,0 +1,23 @@ +#if !defined(HISTORYSTATS_GUARD_COLUMN_GROUP_H)
+#define HISTORYSTATS_GUARD_COLUMN_GROUP_H
+
+#include "column.h"
+
+/*
+ * ColumnGroup
+ */
+
+class ColGroup
+ : public Column
+{
+protected:
+ virtual const mu_text* impl_getUID() const { return con::ColGroup; }
+ virtual const mu_text* impl_getTitle() const { return i18n(muT("Group")); }
+ virtual const mu_text* impl_getDescription() const { return i18n(muT("Column holding the contact list's group name the contact is in.")); }
+ virtual int impl_getFeatures() const { return 0; }
+ virtual int impl_configGetRestrictions(ext::string* pDetails) const { return crHTMLFull; }
+ virtual void impl_outputRenderHeader(ext::ostream& tos, int row, int rowSpan) const;
+ virtual void impl_outputRenderRow(ext::ostream& tos, const Contact& contact, DisplayType display);
+};
+
+#endif // HISTORYSTATS_GUARD_COLUMN_GROUP_H
|