/[libvob]/libvob/include/vob/jni/Types.hxx
ViewVC logotype

Diff of /libvob/include/vob/jni/Types.hxx

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.23 by tjl, Thu May 29 08:00:20 2003 UTC revision 1.24 by tjl, Mon Jun 9 15:04:36 2003 UTC
# Line 39  Types.hxx Line 39  Types.hxx
39  #include <vob/jni/Strings.hxx>  #include <vob/jni/Strings.hxx>
40  #include <vob/paper/Paper.hxx>  #include <vob/paper/Paper.hxx>
41  #include <vob/util/ImageLoader.hxx>  #include <vob/util/ImageLoader.hxx>
42    #include <vob/lod/TexPoly.hxx>
43    
44    
45    
# Line 73  namespace JNI { Line 74  namespace JNI {
74    
75      extern ObjectStorer<ImageLoader::RGBARaster> images;      extern ObjectStorer<ImageLoader::RGBARaster> images;
76    
77        extern ObjectStorer<LOD::TexAccum> texaccums;
78    
79    
80      typedef ::Vob::Paper::Paper P; // g++3.2 doesn't like ::... inside      typedef ::Vob::Paper::Paper P; // g++3.2 doesn't like ::... inside
81                                     // template param                                     // template param
# Line 146  namespace JNI { Line 149  namespace JNI {
149              return "_."+paramPrefix+" = "+paramPrefix+";\n";    \              return "_."+paramPrefix+" = "+paramPrefix+";\n";    \
150          }                                                               \          }                                                               \
151          static std::string javaImplParamCode(std::string paramPrefix) {         \          static std::string javaImplParamCode(std::string paramPrefix) {         \
152              return paramPrefix+".getId()";                              \              return "("+paramPrefix+" == null ? 0 : "+paramPrefix+".getId())";                           \
153          }                                                       \          }                                                       \
154          static std::string javaImplParam(std::string paramPrefix) {     \          static std::string javaImplParam(std::string paramPrefix) {     \
155              return "int "+paramPrefix;          \              return "int "+paramPrefix;          \
# Line 233  namespace JNI { Line 236  namespace JNI {
236          out = vobNs[in];          out = vobNs[in];
237      END_VOB_JNI_CONVERSION      END_VOB_JNI_CONVERSION
238    
239        START_VOB_JNI_CONVERSION_IDDED(LOD::TexAccum *,
240                    "GL.TexAccum")
241            out = texaccums.get_allowNull(in);
242        END_VOB_JNI_CONVERSION
243    
244  }  }
245  }  }
246    

Legend:
Removed from v.1.23  
changed lines
  Added in v.1.24

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26