Files
palemoon27/mobile/android/base/firstrun/FirstrunPanel.java
T
2018-07-24 23:11:02 +08:00

25 lines
773 B
Java

/* -*- Mode: Java; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: nil; -*-
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.mozilla.goanna.firstrun;
import android.support.v4.app.Fragment;
public class FirstrunPanel extends Fragment {
public static final int TITLE_RES = -1;
protected FirstrunPane.OnFinishListener onFinishListener;
public void setOnFinishListener(FirstrunPane.OnFinishListener listener) {
this.onFinishListener = listener;
}
protected void close() {
if (onFinishListener != null) {
onFinishListener.onFinish();
}
}
}