169 files changed, 64432 insertions, 116 deletions
diff --git a/tvapi/libtv/tvsetting/CBlobDevice.cpp b/tvapi/libtv/tvsetting/CBlobDevice.cpp new file mode 100644 index 0000000..8974fbf --- a/dev/null +++ b/tvapi/libtv/tvsetting/CBlobDevice.cpp @@ -0,0 +1,27 @@ +#include <stdio.h> +#include <string.h> +#include <sys/stat.h> +#include <fcntl.h> +#include <pthread.h> +#include "CBlobDeviceE2prom.h" +#include "CBlobDevice.h" +#include "CTvLog.h" + +#define LOG_TAG "CBlobDevice" + + +CBlobDevice::CBlobDevice() +{ + m_dev_path[0] = '\0'; +} + +CBlobDevice::~CBlobDevice() +{ +} + +int CBlobDevice::IsFileExist(const char *file_name) +{ + struct stat tmp_st; + + return stat(file_name, &tmp_st); +} |