/[diana_filewatcher]/branches/smhi_tmp/src/CoFileWatcher.cc
ViewVC logotype

Diff of /branches/smhi_tmp/src/CoFileWatcher.cc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 15 by yngve.einarsson@smhi.se, Sat Dec 7 12:26:46 2013 UTC revision 16 by yngve.einarsson@smhi.se, Sat Dec 7 13:53:35 2013 UTC
# Line 43  Line 43 
43  #include <unistd.h>  #include <unistd.h>
44    
45  #include <qUtilities/QLetterCommands.h>  #include <qUtilities/QLetterCommands.h>
46    #include <puTools/miStringFunctions.h>
47  #include "CoFileWatcher.h"  #include "CoFileWatcher.h"
48    
49  CoFileWatcher::CoFileWatcher(quint16 port, bool dm, string dir, bool vm, bool cp, string coserver_path, bool logPropFile,  CoFileWatcher::CoFileWatcher(quint16 port, bool dm, string dir, bool vm, bool cp, string coserver_path, bool logPropFile,
# Line 54  CoFileWatcher::CoFileWatcher(quint16 por Line 55  CoFileWatcher::CoFileWatcher(quint16 por
55    watchMode = dm;    watchMode = dm;
56    //fileWatcher = NULL;    //fileWatcher = NULL;
57    threadPool.clear();    threadPool.clear();
58    cout << dir << endl;    string dirs(dir);
59    miutil::miString dirs(dir);    vector<string> dirlist = miutil::split(dirs,",");
   vector<miutil::miString> dirlist = dirs.split(",");  
60    for (int i = 0; i < dirlist.size(); i++)    for (int i = 0; i < dirlist.size(); i++)
61    {    {
62            CoFileWatcherThread * theThread = new CoFileWatcherThread();            CoFileWatcherThread * theThread = new CoFileWatcherThread();

Legend:
Removed from v.15  
changed lines
  Added in v.16

svn@met.no
ViewVC Help
Powered by ViewVC 1.1.5