| | 1 | | using SocialFeaturesAnalytics; |
| | 2 | |
|
| | 3 | | namespace DCL.Social.Friends |
| | 4 | | { |
| | 5 | | public class SendFriendRequestHUDPlugin : IPlugin |
| | 6 | | { |
| | 7 | | private readonly SendFriendRequestHUDController controller; |
| | 8 | |
|
| 0 | 9 | | public SendFriendRequestHUDPlugin() |
| | 10 | | { |
| 0 | 11 | | var userProfileBridge = new UserProfileWebInterfaceBridge(); |
| 0 | 12 | | controller = new SendFriendRequestHUDController(SendFriendRequestHUDComponentView.Create(), |
| | 13 | | DataStore.i, userProfileBridge, FriendsController.i, |
| | 14 | | new SocialAnalytics(Environment.i.platform.serviceProviders.analytics, userProfileBridge)); |
| 0 | 15 | | } |
| | 16 | |
|
| | 17 | | public void Dispose() |
| | 18 | | { |
| 0 | 19 | | controller.Dispose(); |
| 0 | 20 | | } |
| | 21 | | } |
| | 22 | | } |