mirror of
https://github.com/szymon-jozef/libnotify-rs.git
synced 2026-10-27 19:20:43 +01:00
refactor: move including bindgen functions to libnotify mod
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
use crate::utils::c_str_to_rs_str_and_free;
|
use crate::utils::c_str_to_rs_str_and_free;
|
||||||
|
|
||||||
include!(concat!(env!("OUT_DIR"), "/bindings.rs"));
|
use crate::libnotify::*;
|
||||||
|
|
||||||
/* Initting
|
/* Initting
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -3,5 +3,6 @@
|
|||||||
#![allow(non_snake_case)]
|
#![allow(non_snake_case)]
|
||||||
|
|
||||||
pub mod functions;
|
pub mod functions;
|
||||||
|
mod libnotify;
|
||||||
pub mod notification;
|
pub mod notification;
|
||||||
mod utils;
|
mod utils;
|
||||||
|
|||||||
1
src/libnotify.rs
Normal file
1
src/libnotify.rs
Normal file
@@ -0,0 +1 @@
|
|||||||
|
include!(concat!(env!("OUT_DIR"), "/bindings.rs"));
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
include!(concat!(env!("OUT_DIR"), "/bindings.rs"));
|
use crate::libnotify::*;
|
||||||
|
|
||||||
pub enum Urgency {
|
pub enum Urgency {
|
||||||
Low,
|
Low,
|
||||||
|
|||||||
Reference in New Issue
Block a user