FACT++  1.0
int SkypeClient::HandleCall ( )
inlineprivate

Definition at line 87 of file skypeclient.cc.

Referenced by SkypeClient().

88  {
89  int cnt = 0;
90  for (auto it=fContacts.begin(); it!=fContacts.end(); it++)
91  {
92  const string user = Contact(*it);
93  if (user.empty())
94  continue;
95 
96  SendDBusMessageNB("CALL "+user);
97 
98  cnt++;
99  }
100 
101  ostringstream msg;
102  msg << "CALLING [" << cnt << "/" << fContacts.size() << "]";
103 
104  Info(msg);
105 
106  return GetCurrentState();
107  }
int GetCurrentState() const
return the current state of the machine
string Contact(const string &id) const
Definition: skypeclient.cc:37
bool SendDBusMessageNB(const string &cmd)
Definition: skypeclient.cc:298
int Info(const std::string &str)
Definition: MessageImp.h:47
vector< string > fContacts
Definition: skypeclient.cc:29

+ Here is the caller graph for this function: