From: <den...@us...> - 2010-01-28 23:35:07
|
Revision: 110 http://stdair.svn.sourceforge.net/stdair/?rev=110&view=rev Author: denis_arnaud Date: 2010-01-28 23:35:01 +0000 (Thu, 28 Jan 2010) Log Message: ----------- There is now a separate header file for defining (smart) pointer on the STDAIR_Service. Modified Paths: -------------- trunk/stdair/stdair/STDAIR_Service.hpp trunk/stdair/stdair/core/sources.mk Added Paths: ----------- trunk/stdair/stdair/STDAIR_ServicePtr.hpp Modified: trunk/stdair/stdair/STDAIR_Service.hpp =================================================================== --- trunk/stdair/stdair/STDAIR_Service.hpp 2010-01-28 22:49:08 UTC (rev 109) +++ trunk/stdair/stdair/STDAIR_Service.hpp 2010-01-28 23:35:01 UTC (rev 110) @@ -4,6 +4,8 @@ // ////////////////////////////////////////////////////////////////////// // Import section // ////////////////////////////////////////////////////////////////////// +// Boost +#include <boost/shared_ptr.hpp> // StdAir #include <stdair/basic/BasLogParams.hpp> Added: trunk/stdair/stdair/STDAIR_ServicePtr.hpp =================================================================== --- trunk/stdair/stdair/STDAIR_ServicePtr.hpp (rev 0) +++ trunk/stdair/stdair/STDAIR_ServicePtr.hpp 2010-01-28 23:35:01 UTC (rev 110) @@ -0,0 +1,19 @@ +#ifndef __STDAIR_SVC_STDAIR_SERVICEPTR_HPP +#define __STDAIR_SVC_STDAIR_SERVICEPTR_HPP + +// ////////////////////////////////////////////////////////////////////// +// Import section +// ////////////////////////////////////////////////////////////////////// +// Boost +#include <boost/shared_ptr.hpp> + +namespace stdair { + + // Forward declarations + class STDAIR_Service; + + /** Pointer on the STDAIR Service handler. */ + typedef boost::shared_ptr<STDAIR_Service> STDAIR_ServicePtr_T; + +} +#endif // __STDAIR_SVC_STDAIR_SERVICEPTR_HPP Modified: trunk/stdair/stdair/core/sources.mk =================================================================== --- trunk/stdair/stdair/core/sources.mk 2010-01-28 22:49:08 UTC (rev 109) +++ trunk/stdair/stdair/core/sources.mk 2010-01-28 23:35:01 UTC (rev 110) @@ -1,3 +1,4 @@ service_h_sources = $(top_srcdir)/stdair/STDAIR_Types.hpp \ - $(top_srcdir)/stdair/STDAIR_Service.hpp + $(top_srcdir)/stdair/STDAIR_Service.hpp \ + $(top_srcdir)/stdair/STDAIR_ServicePtr.hpp service_cc_sources = This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |