Fix linting errors and add isSupported

This commit is contained in:
Samuel Attard 2017-05-30 20:27:24 +10:00
parent 686b1388b1
commit 3938373ecb
No known key found for this signature in database
GPG key ID: 273DC1869D8F13EF
6 changed files with 21 additions and 6 deletions

View file

@ -25,8 +25,7 @@ class Notification : public mate::TrackableObject<Notification>,
public brightray::NotificationDelegate {
public:
static mate::WrappableBase* New(mate::Arguments* args);
static bool HasID(int id);
static Notification* FromID(int id);
static bool IsSupported();
static void BuildPrototype(v8::Isolate* isolate,
v8::Local<v8::FunctionTemplate> prototype);