turn class into observer

This commit is contained in:
Shelley Vohr 2018-01-27 10:40:50 -05:00
parent 3399480304
commit bef4c84799
No known key found for this signature in database
GPG key ID: F13993A75599653C
2 changed files with 6 additions and 1 deletions

View file

@ -18,7 +18,8 @@ namespace atom {
namespace api {
class Menu : public mate::TrackableObject<Menu>,
public AtomMenuModel::Delegate {
public AtomMenuModel::Delegate,
public AtomMenuModel::Observer {
public:
static mate::WrappableBase* New(mate::Arguments* args);