#include "htclipboard.h"
#include "htctrl.h"
#include "htsearch.h"
#include "htstring.h"
#include "snprintf.h"
#include "tools.h"
#include <stdlib.h>
#include <time.h>
Go to the source code of this file.
Classes | |
class | ht_clipboard_copy_history |
Defines | |
#define | CLIPBOARD_TRANSFER_BUF_SIZE 32*1024 |
Functions | |
void | clipboard_add_copy_history_entry (char *source, dword start, dword size, time_t time) |
int | clipboard_copy (char *source_desc, void *buf, dword len) |
int | clipboard_copy (char *source_desc, ht_streamfile *file, dword offset, dword len) |
int | clipboard_paste (void *buf, dword maxlen) |
int | clipboard_paste (ht_streamfile *file, dword offset) |
int | clipboard_clear () |
dword | clipboard_getsize () |
bool | init_clipboard () |
void | done_clipboard () |
Variables | |
ht_clipboard * | clipboard |
|
Definition at line 201 of file htclipboard.cc. Referenced by clipboard_copy(), and clipboard_paste(). |
|
Definition at line 191 of file htclipboard.cc. References clipboard, ht_clipboard::copy_history, ht_strdup(), ht_list::insert(), ht_clipboard_copy_history::size, size, ht_clipboard_copy_history::source, ht_clipboard_copy_history::start, and ht_clipboard_copy_history::time. Referenced by clipboard_copy(). |
|
Definition at line 279 of file htclipboard.cc. References ht_clipboard::clear(), and clipboard. Referenced by ht_app::handlemsg(). |
|
Definition at line 218 of file htclipboard.cc. References buf, byte, clipboard, clipboard_add_copy_history_entry(), CLIPBOARD_TRANSFER_BUF_SIZE, dword, file, ht_mem_file::get_size(), len, malloc(), ht_mem_file::seek(), ht_clipboard::select_len, ht_clipboard::select_start, size, and ht_clipboard::write(). Referenced by ht_text_viewer::clipboard_copy_cmd(), ht_app::handlemsg(), ht_strinputfield::handlemsg(), and ht_uformat_viewer::handlemsg(). |
|
Definition at line 204 of file htclipboard.cc. |
|
Definition at line 285 of file htclipboard.cc. References clipboard, dword, and ht_clipboard::select_len. Referenced by ht_text_editor::clipboard_paste_cmd(), ht_strinputfield::handlemsg(), and ht_app::handlemsg(). |
|
Definition at line 255 of file htclipboard.cc. References buf, byte, clipboard, CLIPBOARD_TRANSFER_BUF_SIZE, dword, file, len, malloc(), ht_mem_file::read(), ht_mem_file::seek(), ht_clipboard::select_len, and ht_clipboard::select_start. Referenced by ht_text_editor::clipboard_paste_cmd(), ht_app::handlemsg(), ht_strinputfield::handlemsg(), and ht_uformat_viewer::handlemsg(). |
|
Definition at line 249 of file htclipboard.cc. |
|
Definition at line 305 of file htclipboard.cc. References clipboard, and ht_clipboard::done(). |
|
Definition at line 294 of file htclipboard.cc. References clipboard, and ht_clipboard::init(). |
|