Minor refactor for many GetSnapshotCardName()

This commit is contained in:
tomcw committed 2026-03-13 20:20:02 +00:00
1 parent 9ae035d122
commit 3fa34a3bdf
9 files changed
+10 -26

No files matched your search

+1 -3
View File
@@ -225,8 +225,6 @@ void ParallelPrinterCard::SetRegistryConfig(void)
//===========================================================================
#define SS_YAML_VALUE_CARD_PRINTER "Generic Printer"
#define SS_YAML_KEY_INACTIVITY "Inactivity"
#define SS_YAML_KEY_IDLELIMIT "Printer Idle Limit"
#define SS_YAML_KEY_FILENAME "Print Filename"
@@ -239,7 +237,7 @@ void ParallelPrinterCard::SetRegistryConfig(void)
const std::string& ParallelPrinterCard::GetSnapshotCardName(void)
{
static const std::string name(SS_YAML_VALUE_CARD_PRINTER);
static const std::string name("Generic Printer");
return name;
}