Browse Source

missing file

David Rose 16 years ago
parent
commit
5b088c851c
2 changed files with 26 additions and 1 deletions
  1. 1 1
      direct/src/plugin_npapi/Sources.pp
  2. 25 0
      direct/src/plugin_npapi/ppObject.I

+ 1 - 1
direct/src/plugin_npapi/Sources.pp

@@ -19,7 +19,7 @@
     nppanda3d_common.h \
     nppanda3d_common.h \
     ppDownloadRequest.h ppDownloadRequest.I \
     ppDownloadRequest.h ppDownloadRequest.I \
     ppInstance.h ppInstance.I \
     ppInstance.h ppInstance.I \
-    ppObject.h \
+    ppObject.h ppObject.I \
     startup.h
     startup.h
 
 
   #define INCLUDED_SOURCES \
   #define INCLUDED_SOURCES \

+ 25 - 0
direct/src/plugin_npapi/ppObject.I

@@ -0,0 +1,25 @@
+// Filename: ppObject.I
+// Created by:  drose (03Jul09)
+//
+////////////////////////////////////////////////////////////////////
+//
+// PANDA 3D SOFTWARE
+// Copyright (c) Carnegie Mellon University.  All rights reserved.
+//
+// All use of this software is subject to the terms of the revised BSD
+// license.  You should have received a copy of this license along
+// with this source code in a file named "LICENSE."
+//
+////////////////////////////////////////////////////////////////////
+
+
+////////////////////////////////////////////////////////////////////
+//     Function: PPObject::set_p3d_object
+//       Access: Public
+//  Description: Returns the p3d_object this PPObject maps to.  This
+//               may be NULL if the object is not fully initialized.
+////////////////////////////////////////////////////////////////////
+inline P3D_object *PPObject::
+get_p3d_object() const {
+  return _p3d_object;
+}