host_collection_view_cell.h 668 B

1234567891011121314151617181920212223
  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_HOST_COLLECTION_VIEW_CELL_H_
  5. #define REMOTING_IOS_APP_HOST_COLLECTION_VIEW_CELL_H_
  6. #import <UIKit/UIKit.h>
  7. #import <MaterialComponents/MaterialCollections.h>
  8. @class HostInfo;
  9. @interface HostCollectionViewCell : MDCCollectionViewCell
  10. // Update a cell with host info. Typically called for cell reuse.
  11. - (void)populateContentWithHostInfo:(HostInfo*)hostInfo;
  12. @property(readonly, nonatomic) HostInfo* hostInfo;
  13. @end
  14. #endif // REMOTING_IOS_APP_HOST_COLLECTION_VIEW_CELL_H_