Modularizando o src
Dependencies: EALib EthernetInterface_vz mbed-rtos mbed
Fork of header_main_colinas_V0-20-09-14 by
Diff: call_box.cpp
- Revision:
- 77:e8c0253b57bc
- Parent:
- 76:9f5f99dd895a
- Child:
- 78:1353744f01e1
diff -r 9f5f99dd895a -r e8c0253b57bc call_box.cpp --- a/call_box.cpp Tue Nov 25 17:37:56 2014 +0000 +++ b/call_box.cpp Tue Nov 25 18:43:01 2014 +0000 @@ -16,24 +16,6 @@ sip = new Sip( ext, port ); } -int Call_Box::get_status( void ){ return this->status; } - -void Call_Box::cb_set_status( uint8_t status ){ this->status = status; } - -int Call_Box::get_sip_status( void ){ - if( sip == NULL ) return -1; - - else return this->sip->get_status(); -} - -int Call_Box::set_sip_status( uint8_t status ){ - if( sip == NULL ) return( -1 ); - - sip->sip_set_status( status ); - - return( 0 ); -} - Call_Box::~Call_Box( void ){ if( sip != NULL ) delete( sip ); }