Sirikata
|
00001 // Copyright (c) 2011 Sirikata Authors. All rights reserved. 00002 // Use of this source code is governed by a BSD-style license that can 00003 // be found in the LICENSE file. 00004 00005 #ifndef _SIRIKATA_LIBOH_OBJECT_NODE_SESSION_HPP_ 00006 #define _SIRIKATA_LIBOH_OBJECT_NODE_SESSION_HPP_ 00007 00008 #include <sirikata/oh/Platform.hpp> 00009 #include <sirikata/core/util/ListenerProvider.hpp> 00010 #include <sirikata/core/ohdp/Defs.hpp> 00011 00012 namespace Sirikata { 00013 00015 class SIRIKATA_OH_EXPORT ObjectNodeSessionListener { 00016 public: 00017 virtual ~ObjectNodeSessionListener() {} 00018 00023 virtual void onObjectNodeSession(const SpaceID& space, const ObjectReference& sporef, const OHDP::NodeID& id) {} 00024 }; 00025 00026 typedef Provider<ObjectNodeSessionListener*> ObjectNodeSessionProvider; 00027 00028 } // namespace Sirikata 00029 00030 #endif //_SIRIKATA_LIBOH_SPACE_NODE_SESSION_HPP_