mirror of
https://github.com/Gigaslav/HL2Overcharged.git
synced 2026-01-10 06:09:42 +03:00
33 lines
1.8 KiB
C
33 lines
1.8 KiB
C
/******************************************************************************
|
|
* Common.h
|
|
* This module contains the definitions used by all modules in the
|
|
* coffee application.
|
|
*
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
******************************************************************************/
|
|
|
|
#define NORMAL_LOADSTRING 100 // Normal size of loaded strings
|
|
#define MAX_LOADSTRING 256 // Normal size of loaded strings
|
|
#define GRAMMARID1 161 // Arbitrary grammar id
|
|
#define WM_RECOEVENT WM_USER+190 // Arbitrary user defined message for reco callback
|
|
#define WM_GOTOCOUNTER WM_USER+202 // Notification to go to counter pane
|
|
#define WM_INITPANE WM_USER+203 // Notification for any pane to initialize
|
|
#define WM_GOTOOFFICE WM_USER+204 // Notification to go to office pane
|
|
#define WM_ESPRESSOORDER WM_USER+210 // Notification that an order has been received
|
|
#define WM_DIDNTUNDERSTAND WM_USER+211 // Notification that we got a false recognition
|
|
#define MY_RULE_ID 458 // Arbitrary rule id
|
|
#define MAX_ID_ARRAY 7 // Max number of ids in espresso rule
|
|
#define MINMAX_WIDTH 640 // Window width
|
|
#define MINMAX_HEIGHT 480 // Window height
|
|
#define TIMEOUT 12000 // Timer fires on this interval in ms
|
|
#define MIN_ORDER_INTERVAL 2500 // Minimum utterance time for a false reco to be
|
|
// considered a possible order
|
|
|
|
typedef LRESULT (*PMSGHANDLER) (HWND, UINT, WPARAM, LPARAM ); // typedef msg handler
|
|
|
|
typedef struct tagID_TEXT
|
|
{
|
|
ULONG ulId;
|
|
WCHAR *pwstrCoMemText;
|
|
}ID_TEXT;
|