Changeset 6009 for branches/newapi

Show
Ignore:
Timestamp:
01/11/08 03:31:27 (11 months ago)
Author:
erijo
Message:

Added a typedef to avoid having to write
"boost::shared_ptr<Licq::Event>" every time. Now it can be written
"Licq::Event::Ptr" instead.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/newapi/licq/licq/event/event.h

    r5953 r6009  
    3636public: 
    3737  typedef unsigned long Id; 
     38  typedef boost::shared_ptr<Event> Ptr; 
    3839 
    3940  /** 
    4041   * Creates a new event with the given @a name. 
    4142   */ 
    42   static boost::shared_ptr<Event> create(const std::string& name); 
     43  static Ptr create(const std::string& name); 
    4344 
    4445  /**