diff options
author | Rasmus Eskola <fruitiex@gmail.com> | 2013-08-08 22:36:32 +0300 |
---|---|---|
committer | Rasmus Eskola <fruitiex@gmail.com> | 2013-08-08 22:36:32 +0300 |
commit | e5fdc3e91ff23772e4824ec09bfedd16e27086de (patch) | |
tree | a2cfd896e381a1ac65afdeb968fdafc2876dce20 /backlog.cpp | |
parent | 034fb584c54e1f4244ae4867eb62cc19943a45f2 (diff) |
rename module class
Diffstat (limited to 'backlog.cpp')
-rw-r--r-- | backlog.cpp | 10 |
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") |