summaryrefslogtreecommitdiff
path: root/backlog.cpp
diff options
context:
space:
mode:
authorRasmus Eskola <fruitiex@gmail.com>2013-08-08 22:36:32 +0300
committerRasmus Eskola <fruitiex@gmail.com>2013-08-08 22:36:32 +0300
commite5fdc3e91ff23772e4824ec09bfedd16e27086de (patch)
treea2cfd896e381a1ac65afdeb968fdafc2876dce20 /backlog.cpp
parent034fb584c54e1f4244ae4867eb62cc19943a45f2 (diff)
rename module class
Diffstat (limited to 'backlog.cpp')
-rw-r--r--backlog.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/backlog.cpp b/backlog.cpp
index cf00942..78f9895 100644
--- a/backlog.cpp
+++ b/backlog.cpp
@@ -33,9 +33,9 @@ protected:
}
};
-class CSampleMod : public CModule {
+class CBacklogMod : public CModule {
public:
- MODCONSTRUCTOR(CSampleMod) {}
+ MODCONSTRUCTOR(CBacklogMod) {}
virtual bool OnLoad(const CString& sArgs, CString& sMessage) {
PutModule("I'm being loaded with the arguments: [" + sArgs + "]");
@@ -45,7 +45,7 @@ public:
return true;
}
- virtual ~CSampleMod() {
+ virtual ~CBacklogMod() {
PutModule("I'm being unloaded!");
}
@@ -250,11 +250,11 @@ public:
}
};
-template<> void TModInfo<CSampleMod>(CModInfo& Info) {
+template<> void TModInfo<CBacklogMod>(CModInfo& Info) {
Info.SetWikiPage("sample");
Info.SetHasArgs(true);
Info.SetArgsHelpText("Description of module arguments goes here.");
}
-USERMODULEDEFS(CSampleMod, "To be used as a sample for writing modules")
+USERMODULEDEFS(CBacklogMod, "To be used as a sample for writing modules")