diff options
| author | 2010-08-14 02:46:11 +0000 | |
|---|---|---|
| committer | 2010-08-14 02:46:11 +0000 | |
| commit | 6c5cef203bfeef3c26043e13ddd23c01da589fe1 (patch) | |
| tree | ab80fc8e47e86d2957cc30ade3742953ed4f26b8 /src/modules/rot13/libkvirot13.cpp | |
| parent | finally fixed translation extraction (diff) | |
| download | KVIrc-6c5cef203bfeef3c26043e13ddd23c01da589fe1.tar.gz KVIrc-6c5cef203bfeef3c26043e13ddd23c01da589fe1.tar.bz2 KVIrc-6c5cef203bfeef3c26043e13ddd23c01da589fe1.zip | |
improved hungarian notation;
cleaned code;
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@4869 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/rot13/libkvirot13.cpp')
| -rw-r--r-- | src/modules/rot13/libkvirot13.cpp | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/modules/rot13/libkvirot13.cpp b/src/modules/rot13/libkvirot13.cpp index 937d6082e..8fc0a6fd3 100644 --- a/src/modules/rot13/libkvirot13.cpp +++ b/src/modules/rot13/libkvirot13.cpp @@ -119,12 +119,12 @@ static bool rot13_module_init(KviModule * m) g_pEngineList->setAutoDelete(false); KviCryptEngineDescription * d = new KviCryptEngineDescription; - d->szName = "ROT13"; - d->szAuthor = "Aeriana"; - d->szDescription = __tr2qs("The simple Caesar-cypher encryption that replaces each letter with the one 13 places forward or back along the alphabet; it is used to enclose the text in a sealed wrapper that the reader must choose to open - e.g. for posting things that might offend some readers, or spoilers."); - d->iFlags = KVI_CRYPTENGINE_CAN_ENCRYPT; - d->allocFunc = allocRot13Engine; - d->deallocFunc = deallocRot13Engine; + d->m_szName = "ROT13"; + d->m_szAuthor = "Aeriana"; + d->m_szDescription = __tr2qs("The simple Caesar-cypher encryption that replaces each letter with the one 13 places forward or back along the alphabet; it is used to enclose the text in a sealed wrapper that the reader must choose to open - e.g. for posting things that might offend some readers, or spoilers."); + d->m_iFlags = KVI_CRYPTENGINE_CAN_ENCRYPT; + d->m_allocFunc = allocRot13Engine; + d->m_deallocFunc = deallocRot13Engine; m->registerCryptEngine(d); return true; @@ -136,7 +136,8 @@ static bool rot13_module_init(KviModule * m) static bool rot13_module_cleanup(KviModule *m) { #ifdef COMPILE_CRYPT_SUPPORT - while(g_pEngineList->first())delete g_pEngineList->first(); + while(g_pEngineList->first()) + delete g_pEngineList->first(); delete g_pEngineList; g_pEngineList = 0; m->unregisterCryptEngines(); |
