summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'config.c')
-rw-r--r--config.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/config.c b/config.c
index 84c878e..f4f12f7 100644
--- a/config.c
+++ b/config.c
@@ -1,7 +1,7 @@
#include <string>
#include "config.h"
-cTvguideConfig::cTvguideConfig() {
+cTVGuideConfig::cTVGuideConfig() {
debugImageLoading = 0;
showMainMenuEntry = 1;
replaceOriginalSchedule = 0;
@@ -112,15 +112,15 @@ cTvguideConfig::cTvguideConfig() {
iconsPathSet = false;
}
-cTvguideConfig::~cTvguideConfig() {
+cTVGuideConfig::~cTVGuideConfig() {
}
-void cTvguideConfig::setDynamicValues() {
+void cTVGuideConfig::setDynamicValues() {
numGrids = (displayMode == eVertical)?channelCols:channelRows;
jumpChannels = numGrids;
}
-bool cTvguideConfig::LoadTheme() {
+bool cTVGuideConfig::LoadTheme() {
//is correct theme already loaded?
if (nOpacityTheme.size() == 0)
nOpacityTheme = Setup.OSDTheme;
@@ -178,7 +178,7 @@ bool cTvguideConfig::LoadTheme() {
}
-void cTvguideConfig::SetStyle(void) {
+void cTVGuideConfig::SetStyle(void) {
if (theme.Color(clrStyle) == CLR_STYLE_FLAT) {
style = eStyleFlat;
esyslog("tvguide: set flat style");
@@ -195,25 +195,25 @@ void cTvguideConfig::SetStyle(void) {
}
-void cTvguideConfig::SetLogoPath(cString path) {
+void cTVGuideConfig::SetLogoPath(cString path) {
logoPath = checkSlashAtEnd(*path);
logoPathSet = true;
esyslog("tvguide: Logo Path set to %s", *logoPath);
}
-void cTvguideConfig::SetImagesPath(cString path) {
+void cTVGuideConfig::SetImagesPath(cString path) {
epgImagePath = checkSlashAtEnd(*path);
imagesPathSet = true;
esyslog("tvguide: EPG Image Path set to %s", *epgImagePath);
}
-void cTvguideConfig::SetIconsPath(cString path) {
+void cTVGuideConfig::SetIconsPath(cString path) {
iconPath = checkSlashAtEnd(*path);
iconsPathSet = true;
esyslog("tvguide: Icon Path set to %s", *iconPath);
}
-void cTvguideConfig::SetDefaultPathes(void) {
+void cTVGuideConfig::SetDefaultPathes(void) {
logoPathDefault = cString::sprintf("%s/logos/", cPlugin::ResourceDirectory(PLUGIN_NAME_I18N));
iconPathDefault = cString::sprintf("%s/icons/", cPlugin::ResourceDirectory(PLUGIN_NAME_I18N));
epgImagePathDefault = cString::sprintf("%s/epgimages/", cPlugin::CacheDirectory(PLUGIN_NAME_I18N));
@@ -229,7 +229,7 @@ void cTvguideConfig::SetDefaultPathes(void) {
}
}
-cString cTvguideConfig::checkSlashAtEnd(std::string path) {
+cString cTVGuideConfig::checkSlashAtEnd(std::string path) {
try {
if (!(path.at(path.size()-1) == '/'))
return cString::sprintf("%s/", path.c_str());
@@ -237,7 +237,7 @@ cString cTvguideConfig::checkSlashAtEnd(std::string path) {
return path.c_str();
}
-bool cTvguideConfig::SetupParse(const char *Name, const char *Value) {
+bool cTVGuideConfig::SetupParse(const char *Name, const char *Value) {
if (strcmp(Name, "timeFormat") == 0) timeFormat = atoi(Value);
else if (strcmp(Name, "debugImageLoading") == 0) debugImageLoading = atoi(Value);
else if (strcmp(Name, "showMainMenuEntry") == 0) showMainMenuEntry = atoi(Value);