X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=src%2FDevice.cc;h=714e830e13bcbafdda786fa10522e6339f544220;hb=860d8c023b82eeca9833d4a3f534c6d11a9523f3;hp=96189bc30fb609901b9e835c9834d7cb344bd109;hpb=a825b61a8faebeca8b8550c57ac197f67bc110f1;p=libplp.git diff --git a/src/Device.cc b/src/Device.cc index 96189bc..714e830 100644 --- a/src/Device.cc +++ b/src/Device.cc @@ -4,27 +4,33 @@ * Created on: Mar 4, 2011 * Author: lamikr */ +#include "log.h" + #include "Device.hh" using namespace std; using namespace plp; -Device::Device(string id_param, string type_param) { +Device::Device(string id_param, + string type_param) { id = id_param; type = type_param; lifecycle_status = LIFECYCLE_STATUS__UNAVAILABLE; } -Device::Device(std::string id_param, std::string type_param, std::string name_param, plp::EnumDeviceLifeCycleStatus status_param) { +Device::Device(std::string id_param, + string type_param, + string name_param, + plp::EnumDeviceLifeCycleStatus status_param) { id = id_param; type = type_param; name = name_param; lifecycle_status = status_param; } -Device::~Device() { - -} +//Device::~Device() { +// log_debug("Device: constructor\n"); +//} string Device::get_id() { return id;