/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at https://mozilla.org/MPL/2.0/. */
#ifndef TAGMANAGER_H
#define TAGMANAGER_H

#include "dbops.h"
#include "ddb_export.h"
#include "entry.h"

namespace ddb {

#define TAGSFILE "tags.json"

class TagManager {
    Database *db;

   public:
    TagManager(Database *db) : db(db) {}

    DDB_DLL std::string getTag();
    DDB_DLL void setTag(const std::string& tag);
};

}  // namespace ddb

#endif  // TAGMANAGER_H
