mirror of
https://github.com/albfan/miraclecast.git
synced 2025-03-09 23:38:56 +00:00
demo/miracle-wfdctl: handle SIGINT to exit gracefully
This commit is contained in:
parent
a0d0c9bc8c
commit
57c4bbeae5
5 changed files with 153 additions and 30 deletions
8
demo/sigint.vapi
Normal file
8
demo/sigint.vapi
Normal file
|
@ -0,0 +1,8 @@
|
|||
[CCode(cheader_filename="sigint.h")]
|
||||
class Sigint
|
||||
{
|
||||
public delegate void Handler();
|
||||
|
||||
public static void add_watch(Handler handler);
|
||||
public static void remove_watch();
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue