mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 20:33:46 +02:00
Merge pull request #60 from ailin-nemui/paste
Add "paste event" signal
(cherry picked from commit 738931762b)
This commit is contained in:
parent
dc15cc3969
commit
44ad0fce90
6 changed files with 262 additions and 26 deletions
|
|
@ -104,6 +104,10 @@ int
|
|||
settings_get_size(key)
|
||||
char *key
|
||||
|
||||
int
|
||||
settings_get_choice(key)
|
||||
char *key
|
||||
|
||||
void
|
||||
settings_set_str(key, value)
|
||||
char *key
|
||||
|
|
@ -134,6 +138,11 @@ settings_set_size(key, value)
|
|||
char *key
|
||||
char *value
|
||||
|
||||
int
|
||||
settings_set_choice(key, value)
|
||||
char *key
|
||||
char *value
|
||||
|
||||
void
|
||||
settings_add_str(section, key, def)
|
||||
char *section
|
||||
|
|
@ -188,6 +197,16 @@ CODE:
|
|||
perl_settings_add(key);
|
||||
settings_add_size_module(MODULE_NAME"/scripts", section, key, def);
|
||||
|
||||
void
|
||||
settings_add_choice(section, key, def, choices)
|
||||
char *section
|
||||
char *key
|
||||
int def
|
||||
char *choices
|
||||
CODE:
|
||||
perl_settings_add(key);
|
||||
settings_add_choice_module(MODULE_NAME "/scripts", section, key, def, choices);
|
||||
|
||||
void
|
||||
settings_remove(key)
|
||||
char *key
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue