[prev in list] [next in list] [prev in thread] [next in thread]
List: helix-client-cvs
Subject: [Client-cvs] encodesvc/common/util hxccfhelper.cpp,1.1,1.1.6.1
From: alokjain () helixcommunity ! org
Date: 2009-07-31 10:11:14
Message-ID: 200907311119.n6VBJAQJ007123 () mailer ! progressive-comp ! com
[Download RAW message or body]
Update of /cvsroot/client/encodesvc/common/util
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv25747
Modified Files:
Tag: PRODUCER_13_0_RN
hxccfhelper.cpp
Log Message:
Fix SNMP bug no 244958
Index: hxccfhelper.cpp
===================================================================
RCS file: /cvsroot/client/encodesvc/common/util/hxccfhelper.cpp,v
retrieving revision 1.1
retrieving revision 1.1.6.1
diff -u -d -r1.1 -r1.1.6.1
--- hxccfhelper.cpp 10 Sep 2008 18:46:34 -0000 1.1
+++ hxccfhelper.cpp 31 Jul 2009 10:11:12 -0000 1.1.6.1
@@ -54,6 +54,7 @@
#include "ihxtbase.h"
#include "ihxtencodingjob.h"
#include "ihxtencodingjobinternal.h"
+#include "hxstring.h"
#include "hxheap.h"
#ifdef _DEBUG
@@ -206,6 +207,27 @@
{
// AddRef the object
pUnknown->AddRef();
+ if (pszPathName && (riid == IID_IHXTEncodingJob))
+ {
+ IHXTConfigurationAgentPtr spProBag = NULL;
+ pUnknown->QueryInterface( IID_IHXTConfigurationAgent, spProBag.AdoptVoid());
+ if (spProBag)
+ {
+ CHXString strJobName(pszPathName);
+ int pos = strJobName.ReverseFind('\\');
+ if (pos != -1)
+ {
+ strJobName = strJobName.Right(strJobName.GetLength() - pos);
+ }
+ pos = strJobName.ReverseFind('.');
+ if (pos != -1)
+ {
+ strJobName = strJobName.Left(pos);
+ }
+
+ spProBag->SetString(kPropJobName,strJobName);
+ }
+ }
// Set the out parameter
*ppNewInstance = pUnknown;
}
_______________________________________________
Client-cvs mailing list
Client-cvs@helixcommunity.org
http://lists.helixcommunity.org/mailman/listinfo/client-cvs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic