- Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathKey.cpp
More file actions
Latest commit
26 lines (16 loc) · 514 Bytes
/
Copy pathKey.cpp
File metadata and controls
26 lines (16 loc) · 514 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
/*
DeviceKey.cpp - base data foreach key of device
Saul bertuccio 7 feb 2017
Released into the public domain.
*/
#include"Key.h"
constint Key::MAX_KEY_NAME_LEN = 10;
Key::Key(const String & key_name)
: key_name(key_name)
{}
Key::~Key(){};
String Key::getName(){ return key_name; }
Key * Key::getNext() { return next; }
voidKey::setNext(Key * next) { this->next = next; }
String Key::getPropertyById(int id) { returnString(""); }
String Key::getPropertyNameById(int id) { returnString(""); }