summaryrefslogtreecommitdiff
path: root/orkaudio/Daemon.cpp
diff options
context:
space:
mode:
authorHenri Herscher <henri@oreka.org>2006-07-26 16:23:53 +0000
committerHenri Herscher <henri@oreka.org>2006-07-26 16:23:53 +0000
commit71001d96e240d03a98a73688060d476dd5f7c875 (patch)
tree6643ce2ec2ba8a3da7aed6a3648ea6219a797358 /orkaudio/Daemon.cpp
parent0f20be2ec5d75afc343cbe7ec35e3480723b4e99 (diff)
Added command line mcf file transcoding -
The syntax is: #orkaudio transcode myfile.mcf - The output has the format specified in config.xml. git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@310 09dcff7a-b715-0410-9601-b79a96267cd0
Diffstat (limited to 'orkaudio/Daemon.cpp')
-rw-r--r--orkaudio/Daemon.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/orkaudio/Daemon.cpp b/orkaudio/Daemon.cpp
index a4f9314..91ac27e 100644
--- a/orkaudio/Daemon.cpp
+++ b/orkaudio/Daemon.cpp
@@ -59,6 +59,7 @@ void Daemon::Initialize(CStdString serviceName, DaemonHandler runHandler, Daemon
m_serviceName = serviceName;
m_stopping = false;
+ m_shortLived = false;
}
void Daemon::Start()
@@ -232,3 +233,12 @@ bool Daemon::IsStopping()
return m_stopping;
}
+void Daemon::SetShortLived()
+{
+ m_shortLived = true;
+}
+
+bool Daemon::GetShortLived()
+{
+ return m_shortLived;
+}