/*
 * BEGIN FLOCK GPL
 *
 * Copyright Flock Inc. 2005-2009
 * http://flock.com
 *
 * This file may be used under the terms of the
 * GNU General Public License Version 2 or later (the "GPL"),
 * http://www.gnu.org/licenses/gpl.html
 *
 * Software distributed under the License is distributed on an "AS IS" basis,
 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
 * for the specific language governing rights and limitations under the
 * License.
 *
 * END FLOCK GPL
 */

#include "nsISupports.idl"

/**
 * This interface provides some identifying information of the current build. 
 * For a debug build, only the debugBuild attribute is valid, the rest are
 * undefined.
 */
[scriptable, uuid(07e36bd4-782a-4518-8c82-9c4be5d047a2)]
interface flockIBuildDetails : nsISupports {
  /**
   * The build ID of this build (epoch timestamp.scmID).
   */
  readonly attribute ACString buildID;

  /**
   * Indicates if the build is a debug build or not.
   */
  readonly attribute boolean debugBuild;

  /**
   * The timestamp of this build.
   */
  readonly attribute PRTime timestamp;

  /**
   * The SCM identifier associated with this build. This maybe "unknown"
   * if the app was not built directly from a SCM checkout.
   */
  readonly attribute ACString scmID;

  /**
   * The version of Firefox this build is based upon.
   */
  readonly attribute ACString baseFirefoxVersion;
};
