-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathrundialogstorage.h
More file actions
45 lines (33 loc) · 950 Bytes
/
rundialogstorage.h
File metadata and controls
45 lines (33 loc) · 950 Bytes
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
#ifndef RUNDIALOGSTORAGE_H
#define RUNDIALOGSTORAGE_H
#include <string>
#include <iostream>
using namespace std;
class runDialogStorage
{
public:
runDialogStorage();
unsigned int getPlayerPort() const;
void setPlayerPort(unsigned int value);
unsigned int getSplitterPort() const;
void setSplitterPort(unsigned int value);
string getSplitterAddress() const;
void setSplitterAddress(const string &value);
int getMaxChunk() const;
void setMaxChunk(int value);
unsigned int getTeamPort() const;
void setTeamPort(unsigned int value);
bool getLocalHost() const;
void setLocalHost(bool value);
int getSourcePortStep() const;
void setSourcePortStep(int value);
private:
unsigned int playerPort;
unsigned int splitterPort;
string splitterAddress;
int maxChunkDebt;
unsigned int teamPort;
bool useLocalHost;
int sourcePortStep;
};
#endif // RUNDIALOGSTORAGE_H