| | 31 | |
| | 32 | BEGIN_ENUM_REFLECTOR(osgDB::FileLocationCallback::Location) |
| | 33 | I_DeclaringFile("osgDB/Options"); |
| | 34 | I_EnumLabel(osgDB::FileLocationCallback::LOCAL_FILE); |
| | 35 | I_EnumLabel(osgDB::FileLocationCallback::REMOTE_FILE); |
| | 36 | END_REFLECTOR |
| | 37 | |
| | 38 | BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgDB::FileLocationCallback) |
| | 39 | I_DeclaringFile("osgDB/Options"); |
| | 40 | I_VirtualBaseType(osg::Referenced); |
| | 41 | I_Constructor0(____FileLocationCallback, |
| | 42 | "", |
| | 43 | ""); |
| | 44 | I_Method2(osgDB::FileLocationCallback::Location, fileLocation, IN, const std::string &, filename, IN, const osgDB::Options *, options, |
| | 45 | Properties::PURE_VIRTUAL, |
| | 46 | __Location__fileLocation__C5_std_string_R1__C5_Options_P1, |
| | 47 | "", |
| | 48 | ""); |
| | 49 | I_Method0(bool, useFileCache, |
| | 50 | Properties::PURE_VIRTUAL, |
| | 51 | __bool__useFileCache, |
| | 52 | "", |
| | 53 | ""); |
| | 54 | END_REFLECTOR |
| | 257 | ""); |
| | 258 | I_Method1(void, setFileLocationCallback, IN, osgDB::FileLocationCallback *, cb, |
| | 259 | Properties::NON_VIRTUAL, |
| | 260 | __void__setFileLocationCallback__FileLocationCallback_P1, |
| | 261 | "Set the callback to use inform the DatabasePager whether a file is located on local or remote file system. ", |
| | 262 | ""); |
| | 263 | I_Method0(osgDB::FileLocationCallback *, getFileLocationCallback, |
| | 264 | Properties::NON_VIRTUAL, |
| | 265 | __FileLocationCallback_P1__getFileLocationCallback, |
| | 266 | "Get the callback to use inform the DatabasePager whether a file is located on local or remote file system. ", |
| | 267 | ""); |
| | 268 | I_Method1(void, setFileCache, IN, osgDB::FileCache *, fileCache, |
| | 269 | Properties::NON_VIRTUAL, |
| | 270 | __void__setFileCache__FileCache_P1, |
| | 271 | "Set the FileCache that is used to manage local storage of files downloaded from the internet. ", |
| | 272 | ""); |
| | 273 | I_Method0(osgDB::FileCache *, getFileCache, |
| | 274 | Properties::NON_VIRTUAL, |
| | 275 | __FileCache_P1__getFileCache, |
| | 276 | "Get the FileCache that is used to manage local storage of files downloaded from the internet. ", |
| | 290 | I_SimpleProperty(osgDB::FileCache *, FileCache, |
| | 291 | __FileCache_P1__getFileCache, |
| | 292 | __void__setFileCache__FileCache_P1); |
| | 293 | I_SimpleProperty(osgDB::FileLocationCallback *, FileLocationCallback, |
| | 294 | __FileLocationCallback_P1__getFileLocationCallback, |
| | 295 | __void__setFileLocationCallback__FileLocationCallback_P1); |