Former-commit-id:a02aeb236c
[formerly9f19e3f712
] [formerlya02aeb236c
[formerly9f19e3f712
] [formerly06a8b51d6d
[formerly 64fa9254b946eae7e61bbc3f513b7c3696c4f54f]]] Former-commit-id:06a8b51d6d
Former-commit-id:8e80217e59
[formerly3360eb6c5f
] Former-commit-id:377dcd10b9
38 lines
1 KiB
C++
38 lines
1 KiB
C++
// *******************************************************
|
|
// +++ WorkstationTestMode.H: Interface to workstation mode
|
|
//
|
|
//
|
|
// Usage:
|
|
//
|
|
// #include "WorkstationTestMode.H"
|
|
//
|
|
// WorkstationTestMode::Wstm wstm =
|
|
// WorkstationTestMode::checkWorkstationTestMode ();
|
|
//
|
|
//
|
|
// If WorkstationTestMode::checkWorkstationTestMode returns a
|
|
// value of WorkstationTestMode::PANIC, it means the workstation
|
|
// test mode cannot be determined.
|
|
//
|
|
// The other possible return values correspond to workstation
|
|
// modes as described in the header comments in getTestMode.C
|
|
// and tmcp.C.
|
|
//
|
|
// WorkstationTestMode::checkWorkstationTestMode works by
|
|
// executing (via system()) $FXA_HOME/bin/getTestMode.
|
|
//
|
|
// History:
|
|
// 23-dec-04 Davison Initial
|
|
//
|
|
// --- ***************************************************
|
|
#ifndef _WORKSTATIONTESTMODE_H_
|
|
#define _WORKSTATIONTESTMODE_H_
|
|
|
|
class WorkstationTestMode {
|
|
public:
|
|
enum Wstm {TEST, PRACTICE, OPERATIONAL, PANIC};
|
|
static Wstm checkWorkstationTestMode (void);
|
|
};
|
|
|
|
#endif
|
|
|