mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
macOS implementation of notifications in the main process
This commit is contained in:
22
atom/browser/ui/notification_observer.h
Normal file
22
atom/browser/ui/notification_observer.h
Normal file
@@ -0,0 +1,22 @@
|
||||
// Copyright (c) 2014 GitHub, Inc.
|
||||
// Use of this source code is governed by the MIT license that can be
|
||||
// found in the LICENSE file.
|
||||
|
||||
#ifndef ATOM_BROWSER_UI_NOTIFICATION_OBSERVER_H_
|
||||
#define ATOM_BROWSER_UI_NOTIFICATION_OBSERVER_H_
|
||||
|
||||
namespace atom {
|
||||
|
||||
class NotifictionObserver {
|
||||
public:
|
||||
virtual void OnClicked() {}
|
||||
virtual void OnReplied(std::string reply) {}
|
||||
virtual void OnShown() {}
|
||||
|
||||
protected:
|
||||
virtual ~NotifictionObserver() {}
|
||||
};
|
||||
|
||||
} // namespace atom
|
||||
|
||||
#endif // ATOM_BROWSER_UI_NOTIFICATION_OBSERVER_H_
|
||||
Reference in New Issue
Block a user