Fix some things on the console and start implementing the transfer.

This commit is contained in:
Joao Mesquita
2010-04-14 23:54:59 -03:00
parent 0f29f46172
commit fab8e0d5b6
5 changed files with 31 additions and 6 deletions

View File

@@ -38,7 +38,8 @@ typedef enum {
FSCOMM_CALL_STATE_RINGING = 0,
FSCOMM_CALL_STATE_TRYING = 1,
FSCOMM_CALL_STATE_ANSWERED = 2,
FSCOMM_CALL_STATE_FAILED = 3
FSCOMM_CALL_STATE_FAILED = 3,
FSCOMM_CALL_STATE_TRANSFER = 4
} fscomm_call_state_t;
typedef enum {
@@ -76,6 +77,8 @@ public:
void setAnsweredEpoch(qulonglong time) { _answeredEpoch = time/1000000; }
QTime getCurrentStateTime();
/*bool transfer();*/
private:
QSharedPointer<Channel> _channel; /* This should be our portaudio channel */
QSharedPointer<Channel> _otherLegChannel;