Apply formating to all files. CLeanup
This commit is contained in:
parent
43e374f269
commit
744c01c5d0
928 changed files with 14515 additions and 21480 deletions
|
|
@ -45,8 +45,10 @@ namespace tp {
|
|||
|
||||
public:
|
||||
Type() = default;
|
||||
explicit Type(bool read) : mHandleType((State) read) {}
|
||||
explicit Type(State handleType) : mHandleType(handleType) {}
|
||||
explicit Type(bool read) :
|
||||
mHandleType((State) read) {}
|
||||
explicit Type(State handleType) :
|
||||
mHandleType(handleType) {}
|
||||
[[nodiscard]] State getType() const { return mHandleType; }
|
||||
[[nodiscard]] bool isRead() const { return mHandleType == READ; }
|
||||
[[nodiscard]] bool isWrite() const { return mHandleType == WRITE; }
|
||||
|
|
|
|||
|
|
@ -9,18 +9,19 @@ namespace tp {
|
|||
public:
|
||||
class Location {
|
||||
String mLocation;
|
||||
|
||||
public:
|
||||
Location() : mLocation("tmp") {};
|
||||
explicit Location(const String& location) : mLocation(location) {}
|
||||
Location() :
|
||||
mLocation("tmp"){};
|
||||
explicit Location(const String& location) :
|
||||
mLocation(location) {}
|
||||
void setLocation(const String& location) { mLocation = location; }
|
||||
[[nodiscard]] const String& getLocation() const { return mLocation; }
|
||||
[[nodiscard]] bool exists() const;
|
||||
};
|
||||
|
||||
public:
|
||||
LocalConnection() {
|
||||
MODULE_SANITY_CHECK(gModuleConnection)
|
||||
};
|
||||
LocalConnection(){ MODULE_SANITY_CHECK(gModuleConnection) };
|
||||
|
||||
virtual ~LocalConnection() {
|
||||
if (mStatus.isOpened()) LocalConnection::disconnect();
|
||||
|
|
|
|||
|
|
@ -11,14 +11,13 @@ namespace tp {
|
|||
public:
|
||||
class Location {
|
||||
ualni mId = 0;
|
||||
|
||||
public:
|
||||
Location() = default;
|
||||
};
|
||||
|
||||
public:
|
||||
RemoteConnection() {
|
||||
MODULE_SANITY_CHECK(gModuleConnection)
|
||||
};
|
||||
RemoteConnection(){ MODULE_SANITY_CHECK(gModuleConnection) };
|
||||
|
||||
virtual ~RemoteConnection() {
|
||||
if (mStatus.isOpened()) RemoteConnection::disconnect();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue