mirror of https://github.com/laurent22/joplin.git
31 lines
581 B
C++
Executable File
31 lines
581 B
C++
Executable File
#ifndef FOLDER_H
|
|
#define FOLDER_H
|
|
|
|
#include <stable.h>
|
|
#include "models/item.h"
|
|
#include "models/note.h"
|
|
|
|
namespace jop {
|
|
|
|
class Folder : public Item {
|
|
|
|
public:
|
|
|
|
Folder();
|
|
|
|
static int count();
|
|
static std::vector<std::unique_ptr<Folder>> all(const QString& orderBy = "title");
|
|
|
|
//Table table() const;
|
|
bool primaryKeyIsUuid() const;
|
|
bool trackChanges() const;
|
|
int noteCount() const;
|
|
std::vector<std::unique_ptr<Note> > notes(const QString& orderBy, int limit, int offset) const;
|
|
int noteIndexById(const QString& orderBy, const QString &id) const;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
#endif // FOLDER_H
|