--- /dev/null
+/*
+ * Copyright (C) 2016 Roland Haeder<roland@mxchange.org>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package org.mxchange.jphone.events;
+
+import java.io.Serializable;
+import org.mxchange.jphone.phonenumbers.mobileprovider.MobileProvider;
+
+/**
+ * An interface for an event when a new mobile provider has been added.
+ * <p>
+ * @author Roland Haeder<roland@mxchange.org>
+ */
+public interface AdminAddedMobileProviderEvent extends Serializable {
+
+ /**
+ * Getter for added mobile provider
+ * <p>
+ * @return Added mobile provider
+ */
+ MobileProvider getAddedMobileProvider ();
+}
--- /dev/null
+/*
+ * Copyright (C) 2016 Roland Haeder<roland@mxchange.org>
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package org.mxchange.jphone.events;
+
+import org.mxchange.jphone.phonenumbers.mobileprovider.MobileProvider;
+
+/**
+ * An event when a new mobile provider has been added
+ * <p>
+ * @author Roland Haeder<roland@mxchange.org>
+ */
+public class AdminMobileProviderAddedEvent implements AdminAddedMobileProviderEvent {
+
+ /**
+ * Serial number
+ */
+ private static final long serialVersionUID = 18_521_758_718_691_064L;
+
+ /**
+ * Added mobile provider instance
+ */
+ private final MobileProvider addedMobileProvider;
+
+ /**
+ * Constructor with added mobile provider instance
+ * <p>
+ * @param addedMobileProvider Added mobile provider instance
+ */
+ public AdminMobileProviderAddedEvent (final MobileProvider addedMobileProvider) {
+ // Set it here
+ this.addedMobileProvider = addedMobileProvider;
+ }
+
+ @Override
+ public MobileProvider getAddedMobileProvider () {
+ return this.addedMobileProvider;
+ }
+
+}