aboutsummaryrefslogtreecommitdiff
path: root/libLumina/LuminaOS-DragonFly.cpp
diff options
context:
space:
mode:
authorKen Moore <ken@pcbsd.org>2015-01-28 11:07:02 -0500
committerKen Moore <ken@pcbsd.org>2015-01-28 11:07:02 -0500
commite358495c0790a23ff133b24591587af30b1d03b8 (patch)
treeda44ea3c69ae963c451f19ff3c6f5b23cb96c4c7 /libLumina/LuminaOS-DragonFly.cpp
parentMake sure to convert any tab characters into spaces before parsing the output... (diff)
downloadlumina-e358495c0790a23ff133b24591587af30b1d03b8.tar.gz
lumina-e358495c0790a23ff133b24591587af30b1d03b8.tar.bz2
lumina-e358495c0790a23ff133b24591587af30b1d03b8.zip
Add a new function to all LuminaOS files: OSName()
This just returns the name of the OS template used within the library. (No action required for OS-specific maintainers, already handled for all templates).
Diffstat (limited to 'libLumina/LuminaOS-DragonFly.cpp')
-rw-r--r--libLumina/LuminaOS-DragonFly.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/libLumina/LuminaOS-DragonFly.cpp b/libLumina/LuminaOS-DragonFly.cpp
index 6d59f0d7..dd9320fc 100644
--- a/libLumina/LuminaOS-DragonFly.cpp
+++ b/libLumina/LuminaOS-DragonFly.cpp
@@ -11,6 +11,8 @@
//can't read xbrightness settings - assume invalid until set
static int screenbrightness = -1;
+QString LOS::OSName(){ return "DragonFly BSD"; }
+
//OS-specific prefix(s)
QString LOS::AppPrefix(){ return "/usr/local/"; } //Prefix for applications
QString LOS::SysPrefix(){ return "/usr/"; } //Prefix for system
bgstack15