| author | "Tomas Zeman <tzeman@volny.cz>" |
| Wed, 16 Jan 2008 22:39:43 +0100 | |
| changeset 0 | 6f7a81934006 |
| permissions | -rw-r--r-- |
| 0 | 1 |
#ifndef VMAILMGR__LIST_TABLE__H__ |
2 |
#define VMAILMGR__LIST_TABLE__H__ |
|
3 |
||
4 |
#include "misc/hash_table.h" |
|
5 |
#include "misc/crc_hash.h" |
|
6 |
#include "mystring/mystring.h" |
|
7 |
||
8 |
class list_table : public hash_table<bool,hash_node<bool>,crc_hash> |
|
9 |
{
|
|
10 |
bool valid; |
|
11 |
public: |
|
12 |
list_table(const mystring& filename); |
|
13 |
~list_table(); |
|
14 |
bool operator!() const |
|
15 |
{
|
|
16 |
return !valid; |
|
17 |
} |
|
18 |
}; |
|
19 |
||
20 |
#endif |