user_status_presenter.h 609 B

12345678910111213141516171819202122
  1. // Copyright 2017 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #ifndef REMOTING_IOS_APP_USER_STATUS_PRESENTER_H_
  5. #define REMOTING_IOS_APP_USER_STATUS_PRESENTER_H_
  6. #import <UIKit/UIKit.h>
  7. // A simple utility that presents toast and show the user info when the user
  8. // switches account or just logs in.
  9. @interface UserStatusPresenter : NSObject
  10. - (void)start;
  11. - (void)stop;
  12. @property(nonatomic, readonly, class) UserStatusPresenter* instance;
  13. @end
  14. #endif // REMOTING_IOS_APP_USER_STATUS_PRESENTER_H_