2
* Copyright (C) 2008 Geometer Plus <contact@geometerplus.com>
4
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by
6
* the Free Software Foundation; either version 2 of the License, or
7
* (at your option) any later version.
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
14
* You should have received a copy of the GNU General Public License
15
* along with this program; if not, write to the Free Software
16
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
20
#include "FBReaderActions.h"
22
const std::string ActionCode::SHOW_COLLECTION = "showLibrary";
23
const std::string ActionCode::SHOW_OPTIONS = "preferences";
24
const std::string ActionCode::UNDO = "undo";
25
const std::string ActionCode::REDO = "redo";
26
const std::string ActionCode::SHOW_CONTENTS = "toc";
27
const std::string ActionCode::SEARCH = "search";
28
const std::string ActionCode::FIND_PREVIOUS = "findPrevious";
29
const std::string ActionCode::FIND_NEXT = "findNext";
30
const std::string ActionCode::LARGE_SCROLL_FORWARD = "largeScrollForward";
31
const std::string ActionCode::LARGE_SCROLL_BACKWARD = "largeScrollBackward";
32
const std::string ActionCode::SMALL_SCROLL_FORWARD = "smallScrollForward";
33
const std::string ActionCode::SMALL_SCROLL_BACKWARD = "smallScrollBackward";
34
const std::string ActionCode::MOUSE_SCROLL_FORWARD = "mouseScrollForward";
35
const std::string ActionCode::MOUSE_SCROLL_BACKWARD = "mouseScrollBackward";
36
const std::string ActionCode::TAP_SCROLL_FORWARD = "tapScroolForward";
37
const std::string ActionCode::TAP_SCROLL_BACKWARD = "tapScrollBackward";
38
const std::string ActionCode::SCROLL_TO_HOME = "gotoHome";
39
const std::string ActionCode::SCROLL_TO_START_OF_TEXT = "gotoSectionStart";
40
const std::string ActionCode::SCROLL_TO_END_OF_TEXT = "gotoSectionEnd";
41
const std::string ActionCode::CANCEL = "cancel";
42
const std::string ActionCode::INCREASE_FONT = "increaseFont";
43
const std::string ActionCode::DECREASE_FONT = "decreaseFont";
44
const std::string ActionCode::SHOW_HIDE_POSITION_INDICATOR = "toggleIndicator";
45
const std::string ActionCode::TOGGLE_FULLSCREEN = "toggleFullscreen";
46
const std::string ActionCode::FULLSCREEN_ON = "onFullscreen";
47
const std::string ActionCode::ADD_BOOK = "addBook";
48
const std::string ActionCode::SHOW_BOOK_INFO = "bookInfo";
49
const std::string ActionCode::SHOW_HELP = "showHelp";
50
const std::string ActionCode::ROTATE_SCREEN = "rotate";
51
const std::string ActionCode::SHOW_LAST_BOOKS = "showRecent";
52
const std::string ActionCode::QUIT = "quit";
53
const std::string ActionCode::OPEN_PREVIOUS_BOOK = "previousBook";
54
const std::string ActionCode::GOTO_NEXT_TOC_SECTION = "nextTOCSection";
55
const std::string ActionCode::GOTO_PREVIOUS_TOC_SECTION = "previousTOCSection";
56
const std::string ActionCode::COPY_SELECTED_TEXT_TO_CLIPBOARD = "copyToClipboard";
57
const std::string ActionCode::CLEAR_SELECTION = "clearSelection";
58
const std::string ActionCode::OPEN_SELECTED_TEXT_IN_DICTIONARY = "openInDictionary";
59
const std::string ActionCode::GOTO_PAGE_NUMBER = "gotoPageNumber";