Add systemPreferences.getUserDefault

This commit is contained in:
Cheng Zhao 2016-04-25 15:35:52 +09:00
parent a421c66f3f
commit 067e9c1a85
3 changed files with 28 additions and 0 deletions

View file

@ -52,6 +52,7 @@ void SystemPreferences::BuildPrototype(
&SystemPreferences::SubscribeNotification)
.SetMethod("unsubscribeNotification",
&SystemPreferences::UnsubscribeNotification)
.SetMethod("getUserDefault", &SystemPreferences::GetUserDefault)
#endif
.SetMethod("isDarkMode", &SystemPreferences::IsDarkMode);
}