File: module.h

package info (click to toggle)
gtklock 4.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 328 kB
  • sloc: ansic: 1,195; makefile: 7; xml: 6
file content (21 lines) | stat: -rw-r--r-- 666 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// gtklock
// Copyright (c) 2022 Jovan Lanik

// Module support

#pragma once

#include <gmodule.h>

#include "gtklock.h"

GModule *module_load(const char *name);
void module_on_activation(struct GtkLock *gtklock);
void module_on_locked(struct GtkLock *gtklock);
void module_on_output_change(struct GtkLock *gtklock);
void module_on_focus_change(struct GtkLock *gtklock, struct Window *win, struct Window *old);
void module_on_idle_hide(struct GtkLock *gtklock);
void module_on_idle_show(struct GtkLock *gtklock);
void module_on_window_create(struct GtkLock *gtklock, struct Window *win);
void module_on_window_destroy(struct GtkLock *gtklock, struct Window *win);