/*=========================================================================== 
                              BrewMgr.c                                       
                                                                              
  Brew Status Management                                                      
                                                                              
  This file contains implementation of the Brew Status Management             
                                                                              
        Copyright ｩ 1999-2002 QUALCOMM Incorporated.                          
               All Rights Reserved.                                           
            QUALCOMM Proprietary/GTDR                                         
============================================================================*/
/*===========================================================================

                        EDIT HISTORY FOR MODULE

when       who            what, where, why
--------   ----------     ---------------------------------------------------
01/14/04   uehara@ISB    [TRK-2143]   Brew→WAP→Brew対応                    
                          新規作成                                           
===========================================================================*/

// BREW_STATUS_INI        :Base:Dead    Shim:Dead    BrewUI:Dead   Base2:Dead     NativeInt:Dead   //初期状態
// BREW_STATUS_NATIVE     :Base:Active  Shim:Dead    BrewUI:Dead   Base2:Dead     NativeInt:Dead   //Native状態
// BREW_STATUS_BREW       :Base:Suspend Shim:Active  BrewUI:Dead   Base2:Dead     NativeInt:Dead   //Brew起動状態
// BREW_STATUS_NATIVEINT  :Base:Suspend Shim:Dead    BrewUI:Dead   Base2:Dead     NativeInt:Active //Native割り込み状態
// BREW_STATUS_NORMALSUSP :Base:Suspend Shim:Dead    BrewUI:Dead   Base2:Suspend  NativeInt:Dead   //アプリキーによる中断状態
// BREW_STATUS_SHIM       :Base:Suspend Shim:Active  BrewUI:Dead   Base2:Dead     NativeInt:Dead   //Shim起動状態
// BREW_STATUS_NSUSPSUSP  :Base:Suspend Shim:Dead    BrewUI:Dead   Base2:Suspend  NativeInt:Dead   //アプリキー押下による中断中のBrew起動状態
// BREW_STATUS_SHIMSUSP   :Base:Suspend Shim:Suspend BrewUI:Active Base2:Dead     NativeInt:Dead   //Shim起動中の上にBrew起動状態
// BREW_STATUS_NATIVETOBREW :Base:Suspend Shim:Dead    BrewUI:Dead   Base2:Dead     NativeInt:Dead   //Brew起動への状態遷移中 ・Shim終了への状態遷移中
// BREW_STATUS_BREWTOSHIM  :Base:Suspend Shim:Active BrewUI:Active Base2:Dead     NativeInt:Dead   //Shimアプリ起動への状態遷移中
// BREW_STATUS_SHIMTOBREW :Base:Suspend Shim:Suspend BrewUI:Dead   Base2:Dead     NativeInt:Dead   //Shim起動中にBrew起動への状態遷移
// BREW_STATUS_BREWTONATIVE :Base:Active Shim:Dead   BrewUI:Active Base2:Dead     NativeInt:Dead   //Brew終了への状態遷移中
// BREW_STATUS_INITTOINIT  :Base:Dead   Shim:Dead    BrewUI:Active Base2:Dead     NativeInt:Dead   //初期設定の状態遷移中

// [TRK-2143]   Brew→WAP→Brew対応 [S]
typedef enum
{
   BREW_STATUS_INI=0,                     // Status1  : 初期状態
   BREW_STATUS_NATIVE,                    // Status2  : Native状態
   BREW_STATUS_BREW,                      // Status3  : Brew起動状態
   BREW_STATUS_ABSOLUTESUSP,              // Status4  : 強制中断状態
   BREW_STATUS_SHIM,                      // Status5  : Shim起動状態
   BREW_STATUS_NORMALSUSP,                // Status6  : 通常中断状態
   BREW_STATUS_SHIMSUSP,                  // Status7  : Brew(Shimあり)起動状態
   BREW_STATUS_BREWTOSHIM,                // Status8  : Brew起動状態からShim起動状態へ遷移中
   BREW_STATUS_SHIMTOSHIMBREW,            // Status9  : Shim起動状態からBrew(Shimあり)起動状態へ遷移中
   BREW_STATUS_BREWTONATIVE,              // Status10 : Brew起動状態からNative状態への遷移中
   BREW_STATUS_NORMALSUSPTOBREW,          // Status11 : 通常中断中からBrew起動状態への遷移中
   BREW_STATUS_NATIVETOBREW,              // Status12 : Native起動状態からBrew起動状態への遷移中
   BREW_STATUS_BREWTOABSOLUTESUSP,        // Status13 : Brew起動状態から強制中断状態への遷移中
   BREW_STATUS_INITTOINIT,                // Status14 : 初期状態から初期状態への遷移中
   BREW_STATUS_SHIMSUSPTOABSOLUTESUSP,    // Status15 : Brew(Shimあり)起動状態から強制中断中への遷移中
   BREW_STATUS_SHIMSUSPABSOLUTESUSP,      // Status16 : 強制中断状態(BrewShimBrew状態の)
   BREW_STATUS_SHIMSUSPTONORMALSUSP,      // Status17 : Brew(Shimあり)起動状態から通常中断中への遷移中
   BREW_STATUS_SHIMSUSPNORMALSUSP         // Status18 : 通常中断状態（BrewShimBrew状態の）
}BREWMGR_STATUS_KIND;
// [TRK-2143]   Brew→WAP→Brew対応 [E]

extern int BrewMgrGetStatus(void);

