> 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/config_8h_source.md).

# config.h

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

```cpp
 1 #ifndef CONFIG_H
 2 #define CONFIG_H
 3 
 4 class Config
 5 {
 6  public:
 7 
 12  ~Config();
 13 
 17  static Config &getInstance()
 18  {
 19  static Config instance;
 20  return instance;
 21  }
 22 
 27  int emvCbApplicationSelectionMode() const;
 28 
 33  int emvCbLedMode() const;
 34 
 43  bool adminMode(unsigned *tout_sec = 0) const;
 44 
 57  bool counterTopMode(bool *auto_connect = 0) const;
 58 
 59  private:
 60  Config();
 61  Config(const Config &other); // non construction-copyable
 62  Config &operator=(const Config &); // non copyable
 63 
 64  int emv_appl_select_mode;
 65  int emv_led_mode;
 66  bool admin_mode;
 67  unsigned admin_tout_sec;
 68  bool ct_enabled;
 69  bool ct_auto_connect;
 70 };
 71 
 72 #endif // CONFIG_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/config_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.
