aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar CodaFi <devteam.codafi@gmail.com>2014-08-13 19:31:40 -0600
committerGravatar CodaFi <devteam.codafi@gmail.com>2014-08-13 19:31:40 -0600
commita55de9f78bfdc1e93fdf98b55d61669c867232b0 (patch)
tree663d0224b3953bdf12de183d67468629fce6c845
parent5f82321bf14e8836da9d9a9f9caf9f12d021eef8 (diff)
Appease the linker.
-rw-r--r--src/core/nntp/MCNNTPGroupInfo.cc26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/core/nntp/MCNNTPGroupInfo.cc b/src/core/nntp/MCNNTPGroupInfo.cc
index 0f941348..787967f3 100644
--- a/src/core/nntp/MCNNTPGroupInfo.cc
+++ b/src/core/nntp/MCNNTPGroupInfo.cc
@@ -32,7 +32,33 @@ NNTPGroupInfo::~NNTPGroupInfo()
{
}
+String * NNTPGroupInfo::description()
+{
+ return String::stringWithUTF8Format("<%s:%p> Group name: %s; Message count: %u",
+ MCUTF8(className()), this, MCUTF8(mName), mMessageCount);
+}
+
Object * NNTPGroupInfo::copy()
{
return new NNTPGroupInfo(this);
}
+
+void NNTPGroupInfo::setName(String * name)
+{
+ MC_SAFE_REPLACE_COPY(String, mName, name);
+}
+
+String * NNTPGroupInfo::name()
+{
+ return mName;
+}
+
+void NNTPGroupInfo::setMessageCount(uint32_t messageCount)
+{
+ mMessageCount = messageCount;
+}
+
+uint32_t NNTPGroupInfo::messageCount()
+{
+ return mMessageCount;
+} \ No newline at end of file