-
Notifications
You must be signed in to change notification settings - Fork 4
/
RtnResources.h
47 lines (37 loc) · 1.17 KB
/
RtnResources.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#pragma once
#include <string>
using namespace std;
class RtnResources {
public:
static void Init(const wstring& fileName);
static bool IsDebugLoggingEnabled();
static wstring GetOption(const wstring& propertyName, const wstring& defaultValue);
static string GetOption(const string& propertyName, const string& defaultValue);
static int GetOptionInt(const wstring& propertyName, const int defaultValue);
static wstring GetServerType();
static wstring GetServerVersion();
static wstring GetWebServiceURL(wstring serverType, wstring serverVersion, wstring serviceName);
static wstring GetBrowserStartURL();
static wstring GetLogFile();
static wstring GetApplicationTitle();
/**
* Ask user for login and password or use default
*/
static bool GetUserInputLoginSilenty();
/**
* User default login
*/
static wstring GetUserInputDefaultLogin();
/**
* User default password
*/
static wstring GetUserInputDefaultPassword();
/**
* Get auth type that will be used by client
*/
static wstring GetAuthenticationType();
static wstring GetButtonLoginText();
static wstring GetLabelLoginText();
static wstring GetLabelPasswordText();
static wstring GetLabelLoginTitle();
};