git.stg.codes
/
stg.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Added logger for rlm_stg.
[stg.git]
/
include
/
stg
/
corp_conf.h
1
#ifndef CORP_CONF_H
2
#define CORP_CONF_H
3
4
#include <string>
5
6
struct CORP_CONF
7
{
8
CORP_CONF() : name(), cash(0) {}
9
CORP_CONF(const std::string & n) : name(n), cash(0) {}
10
CORP_CONF(const std::string & n, double c) : name(n), cash(c) {}
11
12
std::string name;
13
double cash;
14
};
15
16
inline
17
bool operator==(const CORP_CONF & a, const CORP_CONF & b)
18
{
19
return a.name == b.name;
20
}
21
22
#endif //CORP_CONF_H