version 0.3.29
[fms.git] / include / freenet / boardlistinserter.h
1 #ifndef _boardlistinserter_\r
2 #define _boardlistinserter_\r
3 \r
4 #include "iindexinserter.h"\r
5 \r
6 class BoardListInserter:public IIndexInserter<long>\r
7 {\r
8 public:\r
9         BoardListInserter(SQLite3DB::DB *db);\r
10         BoardListInserter(SQLite3DB::DB *db, FCPv2::Connection *fcp);\r
11 \r
12 private:\r
13         void Initialize();\r
14         const bool HandlePutSuccessful(FCPv2::Message &message);\r
15         const bool HandlePutFailed(FCPv2::Message &message);\r
16         const bool StartInsert(const long &localidentityid);\r
17         void CheckForNeededInsert();\r
18 };\r
19 \r
20 #endif  // _boardlistinserter_\r