Do the time properly.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16528 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
João Mesquita
2010-01-28 01:12:34 +00:00
parent f859964993
commit 8a3001e611
4 changed files with 16 additions and 2 deletions

View File

@@ -63,6 +63,8 @@ public:
bool isActive() { return _isActive == true; }
switch_status_t toggleRecord(bool);
void sendDTMF(QString digit);
void setAnsweredEpoch(qulonglong time) { _answered_epoch = time/1000000; }
QTime getCurrentStateTime();
private:
int _call_id;
@@ -75,6 +77,7 @@ private:
bool _isActive;
QString _recording_filename;
fscomm_call_state_t _state;
qulonglong _answered_epoch;
};
Q_DECLARE_METATYPE(Call)