BookmarksKeeper(3)
| BookmarksKeeper(3) | Library Functions Manual | BookmarksKeeper(3) |
NAME
BookmarksKeeper - The BookmarksKeeper class.
SYNOPSIS
#include <BookmarksKeeper.h>
Inherits UDBase.
Public Member Functions
BookmarksKeeper (const std::shared_ptr<
MLBookProc > &mlbp)
BookmarksKeeper constructor. void loadBookmarksBase (const
std::filesystem::path &bookmarks_base_path)
void addToBookmarks (const UDBElement &book_search_result)
void removeBookmark (const UDBElement &bookmark)
std::shared_mutex * getRawMutex ()
Detailed Description
The BookmarksKeeper class.
This class contains bookmarks database and methods to work with it. See also LibUDB documentation.
Constructor & Destructor Documentation
BookmarksKeeper::BookmarksKeeper (const std::shared_ptr< MLBookProc > & mlbp)
BookmarksKeeper constructor.
Parameters
Member Function Documentation
void BookmarksKeeper::addToBookmarks (const UDBElement & book_search_result)
Adds book to bookmarks.
Parameters
std::shared_mutex * BookmarksKeeper::getRawMutex ()
Returns pointer to internal mutex used to block bookmarks database calls.
Returns
void BookmarksKeeper::loadBookmarksBase (const std::filesystem::path & bookmarks_base_path)
Loads bookmarks database to memory.
Note
Parameters
void BookmarksKeeper::removeBookmark (const UDBElement & bookmark)
Removes bookmark from database.
Parameters
Author
Generated automatically by Doxygen for MLBookProc from the source code.
| Version 2.1 | MLBookProc |
