-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsshconnector.h
More file actions
54 lines (41 loc) · 1.11 KB
/
sshconnector.h
File metadata and controls
54 lines (41 loc) · 1.11 KB
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
47
48
49
50
51
52
53
54
/*
===========================================================================
SSHConnector
Copyright (C) 2024 spalter
This file is part of sshconnector, distributed under the GNU GPL v2
For full terms see the included COPYING file.
===========================================================================
*/
#ifndef __sshconnector_H__
#define __sshconnector_H__
/*
===============================================================================
SSHConnector
===============================================================================
*/
#include <stdio.h>
#include <vector>
#include "config.h"
#include "helpdialog.h"
#include "hostmenu.h"
#include "string.h"
using namespace std;
const char APP_TITLE[] = "SSHConnector v0.6";
class SSHConnector
{
public:
SSHConnector();
~SSHConnector();
void Run();
void Action( char *cmd );
void SetHostFile( char *file );
void SetUserHostFile( char *file );
void SetHelpFile( char *file );
static void Log( char *msg );
private:
char *hostfile;
char *userHostFile;
char *helpFile;
void ShowHelp();
};
#endif /* !__sshconnector_H__ */