mirror of
https://github.com/Gigaslav/HL2Overcharged.git
synced 2026-09-09 20:23:02 +03:00
48 lines
3.2 KiB
C
48 lines
3.2 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 // Miximum size of loaded strings
|
|
#define GRAMMARID1 161 // Arbitrary grammar id
|
|
#define DICTGRAMMAR 164 // Arbitrary grammar id
|
|
#define WM_RECOEVENT WM_USER+190 // Arbitrary user defined message for reco callback
|
|
#define WM_CLEANUP WM_USER+201 // Notification to a pane to cleanup its residuals
|
|
#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 WM_MANAGEEMPLOYEES WM_USER+212 // Notification to go to employee management pane
|
|
#define WM_HEARTHEVOICE WM_USER+213 // The User wants to hear the selected employee speak
|
|
#define WM_MISCCOMMAND WM_USER+214 // Notification that something described under "other commands" was recognized
|
|
#define WM_TTSVOICESEL WM_USER+215 // Notification that the user selected a voice
|
|
#define WM_FALSERECO WM_USER+217 // Notification of false recognition
|
|
#define WM_PHRASESTART WM_USER+218 // Notification words have been detected in incoming stream
|
|
#define WM_MANAGENAME WM_USER+219 // Notification user wants to see change name pane
|
|
#define WM_RENAMEWINDOW WM_USER+220 // Rename the window command
|
|
#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
|
|
#define DYN_TTSVOICERULE 1001 // ID for the dynamic tts voice rule
|
|
#define RECORD_TIMER 5 // Timer # for pronunciation timer
|
|
#define RECORD_TIMEOUT 5000 // # of seconds to wait for sound
|
|
#define THANKS_TIMER 6 // Timer # for thanks timeout timer
|
|
#define THANKS_TIMEOUT 10000 // # of seconds to wait for sound
|
|
|
|
typedef LRESULT (*PMSGHANDLER) (HWND, UINT, WPARAM, LPARAM ); // typedef msg handler
|
|
|
|
typedef struct tagID_TEXT
|
|
{
|
|
ULONG ulId;
|
|
WCHAR *pwstrCoMemText;
|
|
}ID_TEXT;
|