shumate/shumate-symbol-event.h
| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | /* | ||
| 2 | * Copyright (C) 2022 James Westman <james@jwestman.net> | ||
| 3 | * | ||
| 4 | * This library is free software; you can redistribute it and/or | ||
| 5 | * modify it under the terms of the GNU Lesser General Public | ||
| 6 | * License as published by the Free Software Foundation; either | ||
| 7 | * version 2.1 of the License, or (at your option) any later version. | ||
| 8 | * | ||
| 9 | * This library 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 GNU | ||
| 12 | * Lesser General Public License for more details. | ||
| 13 | * | ||
| 14 | * You should have received a copy of the GNU Lesser General Public | ||
| 15 | * License along with this library; if not, see <https://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #if !defined (__SHUMATE_SHUMATE_H_INSIDE__) && !defined (SHUMATE_COMPILATION) | ||
| 19 | #error "Only <shumate/shumate.h> can be included directly." | ||
| 20 | #endif | ||
| 21 | |||
| 22 | #pragma once | ||
| 23 | |||
| 24 | #include <glib-object.h> | ||
| 25 | #include <shumate/shumate-version.h> | ||
| 26 | |||
| 27 | G_BEGIN_DECLS | ||
| 28 | |||
| 29 | #define SHUMATE_TYPE_SYMBOL_EVENT (shumate_symbol_event_get_type()) | ||
| 30 | ✗ | G_DECLARE_FINAL_TYPE (ShumateSymbolEvent, shumate_symbol_event, SHUMATE, SYMBOL_EVENT, GObject) | |
| 31 | |||
| 32 | const char *shumate_symbol_event_get_layer (ShumateSymbolEvent *self); | ||
| 33 | const char *shumate_symbol_event_get_source_layer (ShumateSymbolEvent *self); | ||
| 34 | const char *shumate_symbol_event_get_feature_id (ShumateSymbolEvent *self); | ||
| 35 | const GStrv shumate_symbol_event_get_keys (ShumateSymbolEvent *self); | ||
| 36 | const char *shumate_symbol_event_get_tag (ShumateSymbolEvent *self, | ||
| 37 | const char *tag_name); | ||
| 38 | SHUMATE_AVAILABLE_IN_1_5 | ||
| 39 | gint shumate_symbol_event_get_n_press (ShumateSymbolEvent *self); | ||
| 40 | |||
| 41 | G_END_DECLS | ||
| 42 |