lib: Update for new querying machinery
Port to c++ and use new APIs.
This commit is contained in:
@ -20,7 +20,7 @@
|
||||
#ifndef __MU_STORE_HH__
|
||||
#define __MU_STORE_HH__
|
||||
|
||||
#include <mu-msg.h>
|
||||
#include <mu-msg.hh>
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
@ -52,7 +52,6 @@ public:
|
||||
*/
|
||||
Store (const std::string& path, bool readonly=true);
|
||||
|
||||
|
||||
struct Config {
|
||||
size_t max_message_size{};
|
||||
/**< maximum size (in bytes) for a message, or 0 for default */
|
||||
@ -121,8 +120,8 @@ public:
|
||||
|
||||
|
||||
/**
|
||||
* Get the Indexer associated with this store. It is an error
|
||||
* to call this on a read-only store.
|
||||
* Get the Indexer associated with this store. It is an error to call
|
||||
* this on a read-only store.
|
||||
*
|
||||
* @return the indexer.
|
||||
*/
|
||||
@ -143,7 +142,7 @@ public:
|
||||
* @param msg a message
|
||||
* @param id the id for this message
|
||||
*
|
||||
* @return false in case of failure; true ottherwise.
|
||||
* @return false in case of failure; true otherwise.
|
||||
*/
|
||||
bool update_message (MuMsg *msg, Id id);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user