author | zcarsten <zcarsten> | 2003-07-22 19:23:13 (UTC) |
---|---|---|
committer | zcarsten <zcarsten> | 2003-07-22 19:23:13 (UTC) |
commit | fa3772aa7ddea5725cc7e7db42d017567e4cc14c (patch) (side-by-side diff) | |
tree | 112ec27dd148d0b381ac559fd3e1ee32a89ecd0d /noncore/apps/zsafe/categorylist.cpp | |
parent | 059af0e82a14a32f068c2ad943dc918afca93587 (diff) | |
download | opie-fa3772aa7ddea5725cc7e7db42d017567e4cc14c.zip opie-fa3772aa7ddea5725cc7e7db42d017567e4cc14c.tar.gz opie-fa3772aa7ddea5725cc7e7db42d017567e4cc14c.tar.bz2 |
Initial revision
Diffstat (limited to 'noncore/apps/zsafe/categorylist.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/zsafe/categorylist.cpp | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/noncore/apps/zsafe/categorylist.cpp b/noncore/apps/zsafe/categorylist.cpp new file mode 100644 index 0000000..2fa59d2 --- a/dev/null +++ b/noncore/apps/zsafe/categorylist.cpp @@ -0,0 +1,35 @@ +/* C implementation of RC2 encryption algorithm, as described in RFC2268 */ +/* By Matthew Palmer <mjp16@uow.edu.au> */ +/* $Id$ */ + +#include "categorylist.h" + +CategoryList::CategoryList() +{ +} + +CategoryList::~CategoryList() +{ +} + +void CategoryList::insert (QString key, Category *category) +{ + categoryList.insert ((const char *) key, category); +} + +Category *CategoryList::find (QString key) +{ + return categoryList.find ((const char *) key); +} + +void CategoryList::remove (QString key) +{ + categoryList.remove ((const char *) key); +} + +void CategoryList::clear() +{ + categoryList.clear(); +} + + |