Changeset 2660 for pjproject/trunk/pjsip-apps/src/pocketpj/PocketPJDlg.cpp
- Timestamp:
- Apr 28, 2009 7:38:43 PM (16 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk
- Property svn:mergeinfo changed
/pjproject/branches/projects/vs-reorg2 (added) merged: 2648-2649,2652-2655,2657-2659
- Property svn:mergeinfo changed
-
pjproject/trunk/pjsip-apps/src/pocketpj/PocketPJDlg.cpp
r2282 r2660 240 240 pj_unicode_to_ansi((LPCTSTR)codec, codec.GetLength(), 241 241 tmp_nam, sizeof(tmp_nam)); 242 pjsua_codec_set_priority(pj_cstr(&tmp, tmp_nam), 200-i);242 pjsua_codec_set_priority(pj_cstr(&tmp, tmp_nam), (pj_uint8_t)(200-i)); 243 243 } 244 244 … … 323 323 unsigned userData) 324 324 { 325 PJ_UNUSED_ARG(userData); 326 325 327 if (!m_PopUpState[type]) 326 328 ++m_PopUpCount; … … 420 422 void CPocketPJDlg::on_call_state(pjsua_call_id call_id, pjsip_event *e) 421 423 { 424 PJ_UNUSED_ARG(e); 425 PJ_UNUSED_ARG(call_id); 426 422 427 theDlg->OnCallState(); 423 428 } … … 437 442 pjsip_rx_data *rdata) 438 443 { 444 PJ_UNUSED_ARG(acc_id); 445 PJ_UNUSED_ARG(call_id); 446 PJ_UNUSED_ARG(rdata); 439 447 } 440 448 … … 449 457 /* Registration success */ 450 458 HBITMAP old = m_BtnAcc.SetBitmap(::LoadBitmap(AfxGetInstanceHandle(), MAKEINTRESOURCE(IDB_ONLINE)) ); 459 PJ_UNUSED_ARG(old); 451 460 acc_text += " (OK)"; 452 461 m_AccId.SetWindowText(acc_text); … … 461 470 void CPocketPJDlg::on_reg_state(pjsua_acc_id acc_id) 462 471 { 472 PJ_UNUSED_ARG(acc_id); 473 463 474 theDlg->OnRegState(); 464 475 } … … 466 477 void CPocketPJDlg::on_buddy_state(pjsua_buddy_id buddy_id) 467 478 { 479 PJ_UNUSED_ARG(buddy_id); 480 468 481 theDlg->RedrawBuddyList(); 469 482 } … … 473 486 const pj_str_t *mime_type, const pj_str_t *text) 474 487 { 488 PJ_UNUSED_ARG(call_id); 489 PJ_UNUSED_ARG(from); 490 PJ_UNUSED_ARG(to); 491 PJ_UNUSED_ARG(contact); 492 PJ_UNUSED_ARG(mime_type); 493 PJ_UNUSED_ARG(text); 475 494 } 476 495 … … 741 760 { 742 761 POSITION pos = m_BuddyList.GetFirstSelectedItemPosition(); 762 763 PJ_UNUSED_ARG(pNMHDR); 764 743 765 if (pos != NULL) { 744 766 int iItem = m_BuddyList.GetNextSelectedItem(pos);
Note: See TracChangeset
for help on using the changeset viewer.