> For the complete documentation index, see [llms.txt](https://sandbox-docs.verifone.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sandbox-docs.verifone.com/adk-5.0-programmers-guide/ui__mode_8h_source.md).

# ui\_mode.h

[Go to the documentation of this file.](/adk-5.0-programmers-guide/readme/files/dir_44d926a17fc606d3c25449ba60427c63/dir_048f823fee1bfb22502a8732b9a001aa/ui__mode_8h.md)

```cpp
 1 /****************************************************************************
 2 * Product: InFusion
 3 * Company: Verifone
 4 * Author: GSS R&D Germany
 5 * Content: SDI-Server
 6 ****************************************************************************/
 7 #ifndef _UI_MODE_H_
 8 #define _UI_MODE_H_
 9 
 10 #include <string>
 11 
 22 #ifndef HEADLESS
 23 
 25  void init_ui_mode();
 26 
 40  bool select_com_profile(int comInterfaces, char **ComFileName);
 41 
 45  void reset_com_profile();
 46 
 50  struct ProtStatus;
 51  void protocol_status_ui_update(const struct ProtStatus *status);
 52 
 58  bool multi_connection_support_enabled();
 59 
 63  bool comcfg_file_valid(const std::string &comcfg_file);
 64 
 68  void show_idle_connect_status();
 69 
 70 #endif // HEADLESS
 71 #endif // _UI_MODE_H_
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://sandbox-docs.verifone.com/adk-5.0-programmers-guide/ui__mode_8h_source.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
