MCPcopy Create free account
hub / github.com/cztomczak/cefpython / GetLastUsedSettings

Function GetLastUsedSettings

src/subprocess/print_handler_gtk.cpp:88–93  ·  view source on GitHub ↗

Lazily initialize the singleton instance.

Source from the content-addressed store, hash-verified

86
87// Lazily initialize the singleton instance.
88StickyPrintSettingGtk* GetLastUsedSettings() {
89 static StickyPrintSettingGtk* settings = NULL;
90 if (!settings)
91 settings = new StickyPrintSettingGtk();
92 return settings;
93}
94
95// Helper class to track GTK printers.
96class GtkPrinterList {

Callers 2

OnPrintSettingsMethod · 0.85
OnPrintJobMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected