call: Move state property into base class
This let's us get rid of a lot of duplication in the derived classes. Additionally we set the initial state to CALLS_CALL_STATE_INCOMING if inbound is TRUE and CALLS_CALL_STATE_DIALING otherwise.
This commit is contained in:
@@ -22,7 +22,5 @@ void calls_mock_call_set_id (CallsMockCall *self,
|
||||
const char *id);
|
||||
void calls_mock_call_set_name (CallsMockCall *self,
|
||||
const char *name);
|
||||
void calls_mock_call_set_state (CallsMockCall *self,
|
||||
CallsCallState state);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
Reference in New Issue
Block a user