Welcome to mirror list, hosted at ThFree Co, Russian Federation.

Bookmarks.hpp « bookmarks « src « far2l - github.com/elfmz/far2l.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 98c5658068ab7d92747c29c73331200d6a9badcc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#pragma once
#include <KeyFileHelper.h>
#include "FARString.hpp"

void CheckForImportLegacyShortcuts();

class Bookmarks
{
	KeyFileHelper _kfh;

public:
	Bookmarks();

	bool Set(int index, const FARString *path, const FARString *plugin = nullptr,
		const FARString *plugin_file = nullptr, const FARString *plugin_data = nullptr);

	bool Get(int index, FARString *path, FARString *plugin = nullptr,
		FARString *plugin_file = nullptr, FARString *plugin_data = nullptr);

	bool Clear(int index);
};

void ShowBookmarksMenu(int Pos = 0);