mirror of
				https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
				synced 2023-10-19 15:58:31 +00:00 
			
		
		
		
	added svdrp command to delete image cache
This commit is contained in:
		| @@ -198,6 +198,8 @@ const char **cPluginSkinDesigner::SVDRPHelpPages(void) { | |||||||
|     static const char *HelpPages[] = { |     static const char *HelpPages[] = { | ||||||
|         "RELD\n" |         "RELD\n" | ||||||
|         "    force reload of templates and caches", |         "    force reload of templates and caches", | ||||||
|  |         "DLIC\n" | ||||||
|  |         "    delete image cache", | ||||||
|         "SCIT\n" |         "SCIT\n" | ||||||
|         "    Set custom Integer Token key = value", |         "    Set custom Integer Token key = value", | ||||||
|         "SCST\n" |         "SCST\n" | ||||||
| @@ -242,6 +244,13 @@ cString cPluginSkinDesigner::SVDRPCommand(const char *Command, const char *Optio | |||||||
|         activeSkin->Reload(); |         activeSkin->Reload(); | ||||||
|         ReplyCode = 250; |         ReplyCode = 250; | ||||||
|         return "SKINDESIGNER reload of templates and caches forced."; |         return "SKINDESIGNER reload of templates and caches forced."; | ||||||
|  |     } else if (strcasecmp(Command, "DLIC") == 0) { | ||||||
|  |         if (imgCache) | ||||||
|  |             delete imgCache; | ||||||
|  |         imgCache = new cImageCache(); | ||||||
|  |         imgCache->SetPathes(); | ||||||
|  |         ReplyCode = 250; | ||||||
|  |         return "SKINDESIGNER Image Cache deleted."; | ||||||
|     } else if (strcasecmp(Command, "LSTF") == 0) { |     } else if (strcasecmp(Command, "LSTF") == 0) { | ||||||
|         activeSkin->ListAvailableFonts(); |         activeSkin->ListAvailableFonts(); | ||||||
|         ReplyCode = 250; |         ReplyCode = 250; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user