Move isAeroGlassEnabled and isDarkMode to systemPreferences
This commit is contained in:
parent
d72a0e452f
commit
ddd8eae661
8 changed files with 46 additions and 35 deletions
|
@ -19,6 +19,11 @@ class SystemPreferences : public mate::EventEmitter<SystemPreferences> {
|
|||
static void BuildPrototype(v8::Isolate* isolate,
|
||||
v8::Local<v8::ObjectTemplate> prototype);
|
||||
|
||||
#if defined(OS_WIN)
|
||||
bool IsAeroGlassEnabled();
|
||||
#endif
|
||||
bool IsDarkMode();
|
||||
|
||||
protected:
|
||||
explicit SystemPreferences(v8::Isolate* isolate);
|
||||
~SystemPreferences() override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue