@@ -0,0 +1,3851 @@
+package com.facebook.android;%0A%0Aimport java.util.LinkedList;%0A%0Apublic class SessionEvents %7B%0A%0A    private static LinkedList%3CAuthListener%3E mAuthListeners = %0A        new LinkedList%3CAuthListener%3E();%0A    private static LinkedList%3CLogoutListener%3E mLogoutListeners = %0A        new LinkedList%3CLogoutListener%3E();%0A%0A    /**%0A     * Associate the given listener with this Facebook object. The listener's%0A     * callback interface will be invoked when authentication events occur.%0A     * %0A     * @param listener%0A     *            The callback object for notifying the application when auth%0A     *            events happen.%0A     */%0A    public static void addAuthListener(AuthListener listener) %7B%0A        mAuthListeners.add(listener);%0A    %7D%0A%0A    /**%0A     * Remove the given listener from the list of those that will be notified%0A     * when authentication events occur.%0A     * %0A     * @param listener%0A     *            The callback object for notifying the application when auth%0A     *            events happen.%0A     */%0A    public static void removeAuthListener(AuthListener listener) %7B%0A        mAuthListeners.remove(listener);%0A    %7D%0A%0A    /**%0A     * Associate the given listener with this Facebook object. The listener's%0A     * callback interface will be invoked when logout occurs.%0A     * %0A     * @param listener%0A     *            The callback object for notifying the application when log out%0A     *            starts and finishes.%0A     */%0A    public static void addLogoutListener(LogoutListener listener) %7B%0A        mLogoutListeners.add(listener);%0A    %7D%0A%0A    /**%0A     * Remove the given listener from the list of those that will be notified%0A     * when logout occurs.%0A     * %0A     * @param listener%0A     *            The callback object for notifying the application when log out%0A     *            starts and finishes.%0A     */%0A    public static void removeLogoutListener(LogoutListener listener) %7B%0A        mLogoutListeners.remove(listener);%0A    %7D%0A    %0A    public static void onLoginSuccess() %7B%0A        for (AuthListener listener : mAuthListeners) %7B%0A            listener.onAuthSucceed();%0A        %7D%0A    %7D%0A    %0A    public static void onLoginError(String error) %7B%0A        for (AuthListener listener : mAuthListeners) %7B%0A            listener.onAuthFail(error);%0A        %7D%0A    %7D%0A    %0A    public static void onLogoutBegin() %7B%0A        for (LogoutListener l : mLogoutListeners) %7B%0A            l.onLogoutBegin();%0A        %7D%0A    %7D%0A    %0A    public static void onLogoutFinish() %7B%0A        for (LogoutListener l : mLogoutListeners) %7B%0A            l.onLogoutFinish();%0A        %7D   %0A    %7D%0A    %0A    /**%0A     * Callback interface for authorization events.%0A     *%0A     */%0A    public static interface AuthListener %7B%0A%0A        /**%0A         * Called when a auth flow completes successfully and a valid OAuth %0A         * Token was received.%0A         * %0A         * Executed by the thread that initiated the authentication.%0A         * %0A         * API requests can now be made.%0A         */%0A        public void onAuthSucceed();%0A%0A        /**%0A         * Called when a login completes unsuccessfully with an error. %0A         *  %0A         * Executed by the thread that initiated the authentication.%0A         */%0A        public void onAuthFail(String error);%0A    %7D%0A    %0A    /**%0A     * Callback interface for logout events.%0A     *%0A     */ %0A    public static interface LogoutListener %7B%0A        /**%0A         * Called when logout begins, before session is invalidated.  %0A         * Last chance to make an API call.  %0A         * %0A         * Executed by the thread that initiated the logout.%0A         */%0A        public void onLogoutBegin();%0A%0A        /**%0A         * Called when the session information has been cleared.%0A         * UI should be updated to reflect logged-out state.%0A         * %0A         * Executed by the thread that initiated the logout.%0A         */%0A        public void onLogoutFinish();%0A    %7D%0A    %0A%7D%0A

Add file missing from last commit