aboutsummaryrefslogtreecommitdiff
path: root/libLumina/LuminaOS-template.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-template.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-template.cpp')
-rw-r--r--libLumina/LuminaOS-template.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/libLumina/LuminaOS-template.cpp b/libLumina/LuminaOS-template.cpp
index b975d5a1..d481984f 100644
--- a/libLumina/LuminaOS-template.cpp
+++ b/libLumina/LuminaOS-template.cpp
@@ -9,6 +9,8 @@
#include <unistd.h>
#include <stdio.h> // Needed for BUFSIZ
+QString LOS::OSName(){ return "Sample"; }
+
//OS-specific prefix(s)
QString LOS::AppPrefix(){ return "/usr/local/"; } //Prefix for applications
QString LOS::SysPrefix(){ return "/usr/"; } //Prefix for system
bgstack15