Add systemPreferences.getUserDefault
This commit is contained in:
parent
a421c66f3f
commit
067e9c1a85
3 changed files with 28 additions and 0 deletions
|
@ -28,6 +28,8 @@ class SystemPreferences : public mate::EventEmitter<SystemPreferences> {
|
|||
int SubscribeNotification(const std::string& name,
|
||||
const base::Closure& callback);
|
||||
void UnsubscribeNotification(int id);
|
||||
v8::Local<v8::Value> GetUserDefault(const std::string& name,
|
||||
const std::string& type);
|
||||
#endif
|
||||
bool IsDarkMode();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue