Skip to content

Commit 7633322

Browse files
committed
Initial Commit
1 parent 9b8e1bd commit 7633322

2 files changed

Lines changed: 4 additions & 6 deletions

File tree

src/ESPressio_IEvent.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#include "ESPressio_IEvent.hpp"
22

3+
using namespace ESPressio::Event;
4+
35
uint16_t IEvent::_classId = 0;
46

57
uint16_t IEvent::GetClassID() {

src/ESPressio_IEvent.hpp

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,9 @@ namespace ESPressio {
1212
protected:
1313
static uint16_t _classId;
1414
public:
15-
static uint16_t GetClassID() {
16-
return _classId;
17-
}
15+
static uint16_t GetClassID();
1816

19-
static void tmpSetClassID(uint16_t classId) {
20-
_classId = classId;
21-
}
17+
static void tmpSetClassID(uint16_t classId);
2218
};
2319

2420
}

0 commit comments

Comments
 (0)