/[projects]/smsdaemon/main.cpp
ViewVC logotype

Diff of /smsdaemon/main.cpp

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

revision 63 by torben, Thu Jun 12 12:43:29 2008 UTC revision 82 by torben, Sun Jun 15 20:06:39 2008 UTC
# Line 1  Line 1 
 #include <iostream>  
1  #include <string>  #include <string>
2    
3  #include <cctype>  #include <cctype>
# Line 65  void main_loop(GsmModem& modem) Line 64  void main_loop(GsmModem& modem)
64                          cmn->smsCounter.incomming++;                          cmn->smsCounter.incomming++;
65                  }                  }
66    
67                  if (sms.size() == 0)                  cmn->taskManager.ExecuteTasks();
68                          Util::Sleep(10);  
69    
70                  if (cmn->isDebug && kbhit())                  if (cmn->isDebug && kbhit())
71                          break;                          break;
72    
73                    Util::Sleep(10);
74    
75          }          }
76  }  }
77    
# Line 108  int main(int argc, char* argv[]) Line 109  int main(int argc, char* argv[])
109    
110          cmn->logMessage("--------------------------------");          cmn->logMessage("--------------------------------");
111    
112            cmn->taskManager.LoadTasks();
113          cmn->pluginManager.LoadPlugins();          cmn->pluginManager.LoadPlugins();
114                    
115          SerialPort port("/dev/ttyS1" );          SerialPort port("/dev/ttyS1" );

Legend:
Removed from v.63  
changed lines
  Added in v.82

  ViewVC Help
Powered by ViewVC 1.1.20