// Application.java
// By Ned Etcode
// Copyright 1996 Netscape Communications Corp.  All rights reserved.

package netscape.application;

/** Interface implemented by objects interested in receiving notifications
  * when the Application changes state.
  */
public interface ApplicationObserver {
    /** Informs the observer that the application's EventLoop has just started
      * running.
      */
    public void applicationDidStart(Application application);

    /** Informs the observer that the application's EventLoop has just finished
      * receiving events.
      */
    public void applicationDidStop(Application application);

    /** Informs the observer that the Applet that launched the Application
      * is no longer visible.
      */
    public void applicationDidPause(Application application);

    /** Informs the observer that the Applet that launched the Application
      * is visible again.
      */
    public void applicationDidResume(Application application);
}
