24 lines
635 B
C++
24 lines
635 B
C++
#ifndef _BOOKMARK_H
|
|
#define _BOOKMARK_H
|
|
|
|
#include "_global.h"
|
|
|
|
struct BOOKMARKSINFO
|
|
{
|
|
char mod[MAX_MODULE_SIZE];
|
|
duint addr;
|
|
bool manual;
|
|
};
|
|
|
|
bool BookmarkSet(duint Address, bool Manual);
|
|
bool BookmarkGet(duint Address);
|
|
bool BookmarkDelete(duint Address);
|
|
void BookmarkDelRange(duint Start, duint End, bool Manual);
|
|
void BookmarkCacheSave(JSON Root);
|
|
void BookmarkCacheLoad(JSON Root);
|
|
bool BookmarkEnum(BOOKMARKSINFO* List, size_t* Size);
|
|
void BookmarkClear();
|
|
void BookmarkGetList(std::vector<BOOKMARKSINFO> & list);
|
|
bool BookmarkGetInfo(duint Address, BOOKMARKSINFO* info);
|
|
|
|
#endif // _BOOKMARK_H
|