diff options
| author | Hannes Schulze <haschu0103@outlook.de> | 2025-06-19 23:17:58 +0200 |
|---|---|---|
| committer | Hannes Schulze <haschu0103@outlook.de> | 2025-06-19 23:17:58 +0200 |
| commit | 1af3d14f3f995645a0de08a54b244c19840709e9 (patch) | |
| tree | 3c4098863d8a8fd004a2acc8912a23b6036ab4dd /csrc/services/application-service.h | |
| parent | 40efcf60a5f39674b5137f11de7bcfe37fb121b5 (diff) | |
init hs project
Diffstat (limited to 'csrc/services/application-service.h')
| -rw-r--r-- | csrc/services/application-service.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/csrc/services/application-service.h b/csrc/services/application-service.h new file mode 100644 index 0000000..dd043fc --- /dev/null +++ b/csrc/services/application-service.h @@ -0,0 +1,25 @@ +#pragma once + +#include <glib-object.h> +#include <gio/gio.h> + +G_BEGIN_DECLS + +#define FOOBAR_TYPE_APPLICATION_ITEM foobar_application_item_get_type( ) +#define FOOBAR_TYPE_APPLICATION_SERVICE foobar_application_service_get_type( ) + +G_DECLARE_FINAL_TYPE( FoobarApplicationItem, foobar_application_item, FOOBAR, APPLICATION_ITEM, GObject ) + +gchar const* foobar_application_item_get_id ( FoobarApplicationItem* self ); +gchar const* foobar_application_item_get_executable ( FoobarApplicationItem* self ); +gchar const* foobar_application_item_get_categories ( FoobarApplicationItem* self ); +gint64 foobar_application_item_get_frequency ( FoobarApplicationItem* self ); +gboolean foobar_application_item_match ( FoobarApplicationItem* self, + gchar const* const* terms ); + +G_DECLARE_FINAL_TYPE( FoobarApplicationService, foobar_application_service, FOOBAR, APPLICATION_SERVICE, GObject ) + +FoobarApplicationService* foobar_application_service_new ( void ); +GListModel* foobar_application_service_get_items( FoobarApplicationService* self ); + +G_END_DECLS |
