text: /*
   * (C) 2001-2012 Marmalade. All Rights Reserved.
   *
   * This document is protected by copyright, and contains information
   * proprietary to Marmalade.
   *
   * This file consists of source code released by Marmalade under
   * the terms of the accompanying End User License Agreement (EULA).
   * Please do not use this program/source code before you have read the
   * EULA and have agreed to be bound by its terms.
   */
  /*
   * WARNING: this is an autogenerated file and will be overwritten by
   * the extension interface script.
   */
  #ifndef S3E_EXT_CGPACKAGEMANAGER_H
  #define S3E_EXT_CGPACKAGEMANAGER_H
  
  #include <s3eTypes.h>
  // \cond HIDDEN_DEFINES
  S3E_BEGIN_C_DECL
  // \endcond
  
  /**
   * Returns S3E_TRUE if the CGPackageManager extension is available.
   */
  s3eBool CGPackageManagerAvailable();
  
  /**
   * Returns com.android.vending for a package installed from google or
   * com.amazon.venezia.
   * Note: Older amazon apps and other stores will return null.
   */
  const char* getInstallerPackageName();
  
  // \cond HIDDEN_DEFINES
  S3E_END_C_DECL
  // \endcond
  
  #endif /* !S3E_EXT_CGPACKAGEMANAGER_H */
  