Now Linking and Including KF5I18nLocaleData.

Required for KCountry.
This commit is contained in:
Ayush Singh 2021-12-16 00:11:39 +05:30
parent 2cdd13d145
commit 10f1b9ab50
3 changed files with 43 additions and 14 deletions

10
src/kcountry.rs Normal file
View file

@ -0,0 +1,10 @@
use cpp::{cpp, cpp_class};
cpp! {{
#include <KCountry>
}}
cpp_class!(
#[derive(Default, Clone, Eq, PartialEq)]
pub unsafe struct KCountry as "KCountry"
);

View file

@ -47,8 +47,8 @@
pub mod klocalizedcontext;
pub mod klocalizedstring;
pub mod kcountry;
pub mod prelude {
pub use crate::klocalizedcontext::KLocalizedContext;
pub use crate::klocalizedstring::KLocalizedString;
}