Ignore:
Timestamp:
Jul 14, 2011 4:56:08 AM (13 years ago)
Author:
bennylp
Message:

Fixed #1325: signature fix pjmedia objects

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/2.0-dev/pjmedia/include/pjmedia/event.h

    r3622 r3640  
    2525 */ 
    2626#include <pjmedia/format.h> 
     27#include <pjmedia/signatures.h> 
    2728#include <pj/list.h> 
    2829 
     
    183184     */ 
    184185    unsigned                             proc_cnt; 
     186 
     187    /** 
     188     * The object signature of the event publisher. Application may use 
     189     * this to check which publisher published the event. 
     190     */ 
     191    pjmedia_obj_sig                      epub_sig; 
    185192 
    186193    /** 
     
    269276struct pjmedia_event_publisher 
    270277{ 
     278    /** The object signature of the publisher */ 
     279    pjmedia_obj_sig             sig; 
     280 
    271281    /** List of subscriptions for this event publisher */ 
    272282    pjmedia_event_subscription  subscription_list; 
     
    291301 * 
    292302 * @param epub          The event publisher. 
    293  */ 
    294 PJ_DECL(void) pjmedia_event_publisher_init(pjmedia_event_publisher *epub); 
     303 * @param sig           The object signature of the publisher. 
     304 */ 
     305PJ_DECL(void) pjmedia_event_publisher_init(pjmedia_event_publisher *epub, 
     306                                           pjmedia_obj_sig sig); 
    295307 
    296308/** 
Note: See TracChangeset for help on using the changeset viewer.